Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/gmp

Buildroot aldot at uclibc.org 1 participant 1 message Dec 2, 2006

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2006-12-02 10:32:33 -0800 (Sat, 02 Dec 2006) New Revision: 16759

Log:
- pass target specific settings to configure when configuring for the target.

Modified:
trunk/buildroot/package/gmp/gmp.mk

Changeset:
Modified: trunk/buildroot/package/gmp/gmp.mk
===================================================================

buildroot/package/gmp/gmp.mk +2 -0
@@ -31,6 +31,8 @@
 $(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) \