* [PATCH] allow setting LDFLAGS_FOR_TARGET in top-level configuration.
@ 2011-05-09 8:14 Doug Kwan (關振德)
2011-05-09 17:15 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Doug Kwan (關振德) @ 2011-05-09 8:14 UTC (permalink / raw)
To: binutils; +Cc: Beare, Bruce J
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
This is a merge from gcc rev 173558. The x86 android toolchain needs
this to build. Okay to check in?
-Doug
2011-05-08 Doug Kwan <dougkwan@google.com>
Merge from gcc:
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.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 973 bytes --]
Index: configure.ac
===================================================================
--- configure.ac (revision 173552)
+++ configure.ac (working copy)
@@ -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
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 173552)
+++ Makefile.tpl (working copy)
@@ -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@
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] allow setting LDFLAGS_FOR_TARGET in top-level configuration.
2011-05-09 8:14 [PATCH] allow setting LDFLAGS_FOR_TARGET in top-level configuration Doug Kwan (關振德)
@ 2011-05-09 17:15 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-05-09 17:15 UTC (permalink / raw)
To: Doug Kwan (關振德); +Cc: binutils, Beare, Bruce J
"Doug Kwan (關振德)" <dougkwan@google.com> writes:
> This is a merge from gcc rev 173558. The x86 android toolchain needs
> this to build. Okay to check in?
It's always OK to merge changes to the top-level files from the gcc
repository to the src repository. It is extremely helpful if you merge
all changes when you merge some.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-09 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-09 8:14 [PATCH] allow setting LDFLAGS_FOR_TARGET in top-level configuration Doug Kwan (關振德)
2011-05-09 17:15 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).