]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
./:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 18:06:19 +0000 (18:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 18:06:19 +0000 (18:06 +0000)
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
gcc/:
* doc/install.texi (Configuration): Update default for
--with-boot-ldflags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167382 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/doc/install.texi

index cc57c27c59aadeed0e0b1d1acc8ae94d38d7cbeb..ef3d5245bcf844d1b8a28c891f69b8c5e4752fc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-02  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Always set default for poststage1_ldflags to
+       -static-libstdc++ -static-libgcc.
+
 2010-11-29  Andreas Schwab  <schwab@redhat.com>
 
        * configure.ac: Move comment to remove extra space in last argument
index 683341345d1d59f7e024d54a6d97e999ca597a93..de6da33de974dcf77b78371cb14655c153beb775 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 65c0a74cda9bbc9dc9316548dd4df12ed3f7ee87..289416f79f672d4e7de485566c2c4bbfb0af96dc 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)
index a29b13ae71cd6794327bfa1718cb378f0e796914..ccfce94f4bedce2bda2d583c12b1ba02748b9937 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-02  Ian Lance Taylor  <iant@google.com>
+
+       * doc/install.texi (Configuration): Update default for
+       --with-boot-ldflags.
+
 2010-12-02  Nathan Froyd  <froydnj@codesourcery.com>
 
        PR c/45062
index e67793ac5ea9291b604af38e0937186a8399f06f..5bdd35b4c2a6362631b1edf2e8f004aec3ff3788 100644 (file)
@@ -1611,8 +1611,9 @@ of GCC.  These are also used when linking GCC if configured with
 
 @item --with-boot-ldflags=@var{flags}
 This option may be used to set linker flags to be used when linking
-stage 2 and later when bootstrapping GCC.  By default no special flags
-are used.
+stage 2 and later when bootstrapping GCC.  If neither --with-boot-libs
+nor --with-host-libstdcxx is set to a value, then the default is
+@samp{-static-libstdc++ -static-libgcc}.
 
 @item --with-boot-libs=@var{libs}
 This option may be used to set libraries to be used when linking stage 2