This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Patch committed: Merge from gcc top level
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Tue, 07 Dec 2010 13:20:56 -0800
- Subject: Patch committed: Merge from gcc top level
I merged this patch from gcc top level to binutils mainline.
Ian
2010-12-02 Ian Lance Taylor <iant@google.com>
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/configure.ac,v
retrieving revision 1.119
diff -u -r1.119 configure.ac
--- configure.ac 6 Dec 2010 01:55:25 -0000 1.119
+++ configure.ac 7 Dec 2010 21:19:56 -0000
@@ -1561,10 +1561,10 @@
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)