summaryrefslogtreecommitdiffstats
path: root/package/expat
diff options
context:
space:
mode:
Diffstat (limited to 'package/expat')
-rw-r--r--package/expat/expat.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/expat/expat.mk b/package/expat/expat.mk
index a0fd3e317..18064a68e 100644
--- a/package/expat/expat.mk
+++ b/package/expat/expat.mk
@@ -22,6 +22,8 @@ $(EXPAT_DIR)/.unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
$(EXPAT_DIR)/.configured: $(EXPAT_DIR)/.unpacked
(cd $(EXPAT_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \