summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-02 18:32:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-02 18:32:33 +0000
commit66eb4c38a185d14d65387f5a46760147cec1c6f9 (patch)
treec765deb94342edacf090d8ff61fe310ac1a93bba /package
parent89657b0216967e951e80dc07dd198de963a96d34 (diff)
downloadbuildroot-novena-66eb4c38a185d14d65387f5a46760147cec1c6f9.tar.gz
buildroot-novena-66eb4c38a185d14d65387f5a46760147cec1c6f9.zip
- pass target specific settings to configure when configuring for the target.
Diffstat (limited to 'package')
-rw-r--r--package/gmp/gmp.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 21e1433e8..3da378e17 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -31,6 +31,8 @@ $(GMP_DIR)/.unpacked: $(DL_DIR)/$(GMP_SOURCE)
$(GMP_DIR)/.configured: $(GMP_DIR)/.unpacked
(cd $(GMP_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CC_FOR_BUILD="$(HOSTCC)" \
+ CFLAGS="$(TARGET_CFLAGS)" \
ac_cv_c_bigendian=$(GMP_BE) \
./configure \
--host=$(REAL_GNU_TARGET_NAME) \