Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2010-12-08 00:20:22 +0300
committerIan Lance Taylor <iant@google.com>2010-12-08 00:20:22 +0300
commitf2588cb91dc7af00b9b2f8349c2a7dc563168fe1 (patch)
treed00b93a738a16ebdae70fb364e06b08d41713c48
parent1d1dde068c1187dde485524c5713104c4afadbef (diff)
* configure.ac: Always set default for poststage1_ldflags to
-static-libstdc++ -static-libgcc.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure8
-rw-r--r--configure.ac8
3 files changed, 13 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index a65fe3347..fbe634ef6 100644
--- 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.
diff --git a/configure b/configure
index 6a3ff4570..6dde71a00 100755
--- 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
diff --git a/configure.ac b/configure.ac
index 440f066ac..fcf5ba2c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)