diff options
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/acinclude.m4 | 2 | ||||
| -rwxr-xr-x | libstdc++-v3/configure | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d65af03..ab3f1e9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2006-09-29 Joseph S. Myers <joseph@codesourcery.com> + + * acinclude.m4 (enable_symvers): Default to no if unable to link. + * configure: Regenerate. + 2006-09-28 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_uninitialized.h diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 8fe294d..a15e076 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -2158,7 +2158,7 @@ AC_REQUIRE([GLIBCXX_CHECK_LINKER_FEATURES]) # Turn a 'yes' into a suitable default. if test x$enable_symvers = xyes ; then - if test $enable_shared = no || test "x$LD" = x ; then + if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then enable_symvers=no else if test $with_gnu_ld = yes ; then diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index e95d3ec..ee9178c 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -107644,7 +107644,7 @@ fi; # Turn a 'yes' into a suitable default. if test x$enable_symvers = xyes ; then - if test $enable_shared = no || test "x$LD" = x ; then + if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then enable_symvers=no else if test $with_gnu_ld = yes ; then |
