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