diff options
author | Ian Lance Taylor <iant@google.com> | 2010-12-07 21:20:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2010-12-07 21:20:22 +0000 |
commit | f2588cb91dc7af00b9b2f8349c2a7dc563168fe1 (patch) | |
tree | d00b93a738a16ebdae70fb364e06b08d41713c48 /configure | |
parent | 1d1dde068c1187dde485524c5713104c4afadbef (diff) | |
download | newlib-f2588cb91dc7af00b9b2f8349c2a7dc563168fe1.zip newlib-f2588cb91dc7af00b9b2f8349c2a7dc563168fe1.tar.gz newlib-f2588cb91dc7af00b9b2f8349c2a7dc563168fe1.tar.bz2 |
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5606,10 +5606,10 @@ if test "${with_boot_ldflags+set}" = set; then : fi else poststage1_ldflags= - # With --enable-build-with-cxx, default to linking libstdc++ and - # libgcc statically. But if the user explicitly specified the - # libraries to use, trust that they are doing what they want. - if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then + # In stages 2 and 3, default to linking libstdc++ and libgcc + # statically. But if the user explicitly specified the libraries to + # use, trust that they are doing what they want. + if test "$poststage1_libs" = ""; then poststage1_ldflags="-static-libstdc++ -static-libgcc" fi fi |