summaryrefslogtreecommitdiffstats
path: root/make/flex.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/flex.mk')
-rw-r--r--make/flex.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/flex.mk b/make/flex.mk
index d37a9f7fe..aa2f8573d 100644
--- a/make/flex.mk
+++ b/make/flex.mk
@@ -26,9 +26,11 @@ $(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; \
- PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
./configure \
--target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \