aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/ext2/ext2root.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk
index 6e2e02a65..845773f8a 100644
--- a/target/ext2/ext2root.mk
+++ b/target/ext2/ext2root.mk
@@ -20,6 +20,7 @@ $(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
chmod a+x $(GENEXT2_DIR)/configure
(cd $(GENEXT2_DIR); rm -rf config.cache; \
./configure \
+ CC="$(HOSTCC)" \
--prefix=$(STAGING_DIR) \
);
touch $(GENEXT2_DIR)/.configured