1 From 55f3c413cef5e642f05b94ada9cd2365422e8de5 Mon Sep 17 00:00:00 2001 2 From: Bruce Beare <bruce.j.beare (a] intel.com> 3 Date: Thu, 17 Mar 2011 11:55:23 -0700 4 Subject: [PATCH 2/4] xgcc compiles need to use the Android crt files as specified in LDFLAGS_FOR_TARGET 5 6 Change-Id: If494615b055cd5c001ffd7a1722bcbdf9b88abd8 7 Signed-off-by: Bruce Beare <bruce.j.beare (a] intel.com> 8 --- 9 gcc-4.4.3/Makefile.in | 2 +- 10 gcc-4.4.3/Makefile.tpl | 2 +- 11 2 files changed, 2 insertions(+), 2 deletions(-) 12 13 diff --git a/gcc-4.4.3/Makefile.in b/gcc-4.4.3/Makefile.in 14 index 53a5146..c29eab7 100644 15 --- a/gcc-4.4.3/Makefile.in 16 +++ b/gcc-4.4.3/Makefile.in 17 @@ -466,7 +466,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ 18 19 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) 20 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates 21 -LDFLAGS_FOR_TARGET = 22 +LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ 23 24 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ 25 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ 26 diff --git a/gcc-4.4.3/Makefile.tpl b/gcc-4.4.3/Makefile.tpl 27 index ac36409..c05b935 100644 28 --- a/gcc-4.4.3/Makefile.tpl 29 +++ b/gcc-4.4.3/Makefile.tpl 30 @@ -436,7 +436,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ 31 32 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) 33 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates 34 -LDFLAGS_FOR_TARGET = 35 +LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ 36 37 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ 38 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ 39 -- 40 1.7.1 41 42