summaryrefslogtreecommitdiffstats
path: root/make/flex.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/flex.mk')
-rw-r--r--make/flex.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/flex.mk b/make/flex.mk
index 89855d76c..2dc944902 100644
--- a/make/flex.mk
+++ b/make/flex.mk
@@ -27,6 +27,7 @@ $(FLEX_DIR)/.unpacked: $(DL_DIR)/$(FLEX_SOURCE) $(DL_DIR)/$(FLEX_PATCH)
$(FLEX_DIR)/.configured: $(FLEX_DIR)/.unpacked
(cd $(FLEX_DIR); autoconf; rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \