OSDN Git Service

2006-01-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2006 21:33:25 +0000 (21:33 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2006 21:33:25 +0000 (21:33 +0000)
* configure.ac: Use -fPIC for symbol versioning test.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110040 138bc75d-0d04-0410-961f-82ee72b054a4

libssp/ChangeLog
libssp/configure
libssp/configure.ac

index fd1bc71..125fb1e 100644 (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.
 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
 
        * ALL: Update FSF address.
index e603acc..396bf5c 100755 (executable)
@@ -3404,7 +3404,7 @@ FOO_1.0 {
 };
 EOF
 save_LDFLAGS="$LDFLAGS"
 };
 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
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
index 05c84f6..0bec15c 100644 (file)
@@ -75,7 +75,7 @@ FOO_1.0 {
 };
 EOF
 save_LDFLAGS="$LDFLAGS"
 };
 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)
 AC_TRY_LINK([int foo;],[],[ssp_use_symver=yes],[ssp_use_symver=no])
 LDFLAGS="$save_LDFLAGS"
 AC_MSG_RESULT($ssp_use_symver)