configure.ac: Propagate LDFLAGS_FOR_TARGET.
authorDoug Kwan <dougkwan@google.com>
Mon, 9 May 2011 07:39:45 +0000 (07:39 +0000)
committerDoug Kwan <dougkwan@gcc.gnu.org>
Mon, 9 May 2011 07:39:45 +0000 (07:39 +0000)
2011-05-08  Doug Kwan  <dougkwan@google.com>

* configure.ac: Propagate LDFLAGS_FOR_TARGET.
* configure: Regenerated.
* Makefile.tpl (LDFLAGS_FOR_TARGET): Use LDFLAGS_FOR_TARGET
value from configure.
* Makefile.in: Regenerated.

From-SVN: r173558

ChangeLog
Makefile.in
Makefile.tpl
configure
configure.ac

index 9a9943bfc0480177dd0dfce94baedaf668ff582a..8a2abe8810e04f337dfe3fc2a3c3e292150500af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-08  Doug Kwan  <dougkwan@google.com>
+
+       * configure.ac: Propagate LDFLAGS_FOR_TARGET.
+       * configure: Regenerated.
+       * Makefile.tpl (LDFLAGS_FOR_TARGET): Use LDFLAGS_FOR_TARGET
+       value from configure.
+       * Makefile.in: Regenerated.
+
 2011-05-05  Joseph Myers  <joseph@codesourcery.com>
 
        * configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*,
index 5cc03562a076c3856a67c231ad5718b95f265663..944839b6b26384aa5f19b794dadb33b0e77cbd45 100644 (file)
@@ -541,7 +541,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = 
+LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
 GOCFLAGS_FOR_TARGET = -O2 -g
 
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
index f7312d9e8cef9bece30627f50a397ddd4a367d1d..0b2b3d898929f38d58155d6097d3730e3ff793d1 100644 (file)
@@ -494,7 +494,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = 
+LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
 GOCFLAGS_FOR_TARGET = -O2 -g
 
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
index cb341f95b1ecbd954c590d249cb7af075d4f04c6..30d694599d10ef5a1bcd9fdafeed26e01805e97d 100755 (executable)
--- a/configure
+++ b/configure
@@ -634,6 +634,7 @@ target_configargs
 host_configargs
 build_configargs
 BUILD_CONFIG
+LDFLAGS_FOR_TARGET
 CXXFLAGS_FOR_TARGET
 CFLAGS_FOR_TARGET
 DEBUG_PREFIX_CFLAGS_FOR_TARGET
@@ -6625,6 +6626,8 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
 fi
 
 
+
+
 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
 # the named directory are copied to $(tooldir)/sys-include.
 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
index 0ac903055abaef8e1fe28ba0cbf05c520ab4adb8..39606948e3d8a816f2aee728491dede43c9b0539 100644 (file)
@@ -2110,6 +2110,8 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
 fi
 AC_SUBST(CXXFLAGS_FOR_TARGET)
 
+AC_SUBST(LDFLAGS_FOR_TARGET)
+
 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
 # the named directory are copied to $(tooldir)/sys-include.
 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then