From: Bernhard Reutner-Fischer Date: Sat, 2 Dec 2006 18:32:33 +0000 (-0000) Subject: - pass target specific settings to configure when configuring for the target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66eb4c38a185d14d65387f5a46760147cec1c6f9;p=buildroot.git - pass target specific settings to configure when configuring for the target. --- diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 21e1433e87..3da378e175 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) \