diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-01-16 14:46:57 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2010-01-16 14:46:57 +0000 |
commit | a6918ffd390f28fbe74abc82aae3c0aa89def495 (patch) | |
tree | 03aac1fd229668a4ec04abf179056fbfbccfb328 /libstdc++-v3/configure | |
parent | 8f7fd2da87a58c0dea0ee3916e7a88d606ba2d20 (diff) | |
download | gcc-a6918ffd390f28fbe74abc82aae3c0aa89def495.zip gcc-a6918ffd390f28fbe74abc82aae3c0aa89def495.tar.gz gcc-a6918ffd390f28fbe74abc82aae3c0aa89def495.tar.bz2 |
Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
libstdc++-v3/:
PR libstdc++/35942
* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
* configure: Regenerate.
From-SVN: r155965
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 2abdfc2..1c6bec4 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -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; |