configure.ac: Use -fPIC for symbol versioning test.

2006-01-20  Richard Guenther  <rguenther@suse.de>

	* configure.ac: Use -fPIC for symbol versioning test.
	* configure: Regenerate.

From-SVN: r110040
This commit is contained in:
Richard Guenther 2006-01-20 21:33:25 +00:00 committed by Richard Biener
parent cba43cb6ba
commit b615db81a9
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-01-20 Richard Guenther <rguenther@suse.de>
* configure.ac: Use -fPIC for symbol versioning test.
* configure: Regenerate.
2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
* ALL: Update FSF address.

2
libssp/configure vendored
View File

@ -3404,7 +3404,7 @@ FOO_1.0 {
};
EOF
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -shared -Wl,--version-script,./conftest.map"
LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF

View File

@ -75,7 +75,7 @@ FOO_1.0 {
};
EOF
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -shared -Wl,--version-script,./conftest.map"
LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
AC_TRY_LINK([int foo;],[],[ssp_use_symver=yes],[ssp_use_symver=no])
LDFLAGS="$save_LDFLAGS"
AC_MSG_RESULT($ssp_use_symver)