summaryrefslogtreecommitdiffstats
path: root/make/bison.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/bison.mk')
-rw-r--r--make/bison.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/bison.mk b/make/bison.mk
index c38396530..2803cdccb 100644
--- a/make/bison.mk
+++ b/make/bison.mk
@@ -21,9 +21,11 @@ $(BISON_DIR)/.unpacked: $(DL_DIR)/$(BISON_SOURCE)
$(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked
(cd $(BISON_DIR); 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 \