]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 16 Jan 2010 14:46:57 +0000 (14:46 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Sat, 16 Jan 2010 14:46:57 +0000 (14:46 +0000)
libstdc++-v3/:
PR libstdc++/35942
* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
* configure: Regenerate.

From-SVN: r155965

libstdc++-v3/ChangeLog
libstdc++-v3/configure
libstdc++-v3/configure.ac

index ddd9acd3762538757a273694e1bf57e478c3447e..cd65c4fa4c85b25e0bac7e9b7ac02112631cd6c3 100644 (file)
@@ -1,3 +1,9 @@
+2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR libstdc++/35942
+       * configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
+       * configure: Regenerate.
+
 2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>
 
        * python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
index 2abdfc2451a48892aae92337085147ab5f99e492..1c6bec4c9fe3047f8fdb5627658fecf944155385 100755 (executable)
@@ -14815,6 +14815,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+# Eliminate -lstdc++ addition to postdeps for cross compiles.
+postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
+
 # Possibly disable most of the library.
 ## TODO: Consider skipping unncessary tests altogether in this case, rather
 ## than just ignoring the results.  Faster /and/ more correct, win win.
@@ -14884,7 +14887,7 @@ fi
     #
     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
     cat > conftest.$ac_ext << EOF
-#line 14887 "configure"
+#line 14890 "configure"
 struct S { ~S(); };
 void bar();
 void foo()
@@ -15252,7 +15255,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
   # Fake what AC_TRY_COMPILE does.
 
     cat > conftest.$ac_ext << EOF
-#line 15255 "configure"
+#line 15258 "configure"
 int main()
 {
   typedef bool atomic_type;
@@ -15289,7 +15292,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15292 "configure"
+#line 15295 "configure"
 int main()
 {
   typedef short atomic_type;
@@ -15326,7 +15329,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15329 "configure"
+#line 15332 "configure"
 int main()
 {
   // NB: _Atomic_word not necessarily int.
@@ -15364,7 +15367,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15367 "configure"
+#line 15370 "configure"
 int main()
 {
   typedef long long atomic_type;
@@ -15440,7 +15443,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu
   # unnecessary for this test.
 
     cat > conftest.$ac_ext << EOF
-#line 15443 "configure"
+#line 15446 "configure"
 int main()
 {
   _Decimal32 d1;
index 0137f0a1c66adf08dc3964adbdf9bb7610b46de9..9fe9c33964c8d45da36d6691db16d2b51346c1fc 100644 (file)
@@ -98,6 +98,9 @@ AM_PROG_LIBTOOL
 AC_SUBST(enable_shared)
 AC_SUBST(enable_static)
 
+# Eliminate -lstdc++ addition to postdeps for cross compiles.
+postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
+
 # Possibly disable most of the library.
 ## TODO: Consider skipping unncessary tests altogether in this case, rather
 ## than just ignoring the results.  Faster /and/ more correct, win win.