summaryrefslogtreecommitdiffstats
path: root/make/automake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/automake.mk')
-rw-r--r--make/automake.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/automake.mk b/make/automake.mk
index 6d4bbaa7d..4231a9d8d 100644
--- a/make/automake.mk
+++ b/make/automake.mk
@@ -21,9 +21,11 @@ $(AUTOMAKE_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
$(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked
(cd $(AUTOMAKE_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 \