summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-28 08:14:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-28 08:14:51 +0000
commit4427e87559a5a666b1e4dbd1a63c10c74397a14b (patch)
tree1136c9b6a80d4245a8b1b35561272ba50ae8dc81
parent5a5d089874a17ffaa1bade96b2a1238b53b0114b (diff)
downloadbuildroot-novena-4427e87559a5a666b1e4dbd1a63c10c74397a14b.tar.gz
buildroot-novena-4427e87559a5a666b1e4dbd1a63c10c74397a14b.zip
- add apropriate variables for the host-toolchain to HOST_CONFIGURE_OPTS
-rw-r--r--package/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index c1a650d7b..bdfa1e2ac 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -159,6 +159,12 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
+ AR="$(HOSTAR)" \
+ AS="$(HOSTAS)" \
+ CC="$(HOSTCC) $(HOST_CFLAGS)" \
+ GCC="$(HOSTCC) $(HOST_CFLAGS)" \
+ CXX="$(HOSTCXX)" \
+ LD="$(HOSTLD) $(HOST_LDFLAGS)" \
AR_FOR_TARGET=$(TARGET_CROSS)ar \
AS_FOR_TARGET=$(TARGET_CROSS)as \
LD_FOR_TARGET=$(TARGET_CROSS)ld \