* configure.ac: Always set default for poststage1_ldflags to
authorIan Lance Taylor <ian@airs.com>
Tue, 7 Dec 2010 21:20:22 +0000 (21:20 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 7 Dec 2010 21:20:22 +0000 (21:20 +0000)
-static-libstdc++ -static-libgcc.

ChangeLog
configure
configure.ac

index a65fe33472c4ef68b29c7226f7d155dc27f43720..fbe634ef6c40617f1c99852386e74ac1cdec6868 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
        * configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
        * configure: Regenerate.
 
+2010-12-02  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Always set default for poststage1_ldflags to
+       -static-libstdc++ -static-libgcc.
+
 2010-12-02  Jeff Johnston  <jjohnstn@redhat.com>
 
        * COPYING.NEWLIB: Add National Semiconductor notice.
index 6a3ff4570aeb6b6458c0bf7c82a139c871c5dd19..6dde71a00d7da9802d67831785431199fdc4c677 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
index 440f066acbe997f4a60b73b20d0a24858623bbf8..fcf5ba2c7c8ccca40e0ea0da3c46ca3b6ecf1a10 100644 (file)
@@ -1561,10 +1561,10 @@ AC_ARG_WITH(boot-ldflags,
    poststage1_ldflags=$withval
  fi],
 [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])
 AC_SUBST(poststage1_ldflags)