summaryrefslogtreecommitdiff
path: root/make/links.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/links.mk')
-rw-r--r--make/links.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/links.mk b/make/links.mk
index d664cc8f3..a54e4b0af 100644
--- a/make/links.mk
+++ b/make/links.mk
@@ -18,9 +18,11 @@ $(LINKS_DIR)/.unpacked: $(DL_DIR)/$(LINKS_SOURCE)
$(LINKS_DIR)/.configured: $(LINKS_DIR)/.unpacked
(cd $(LINKS_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 \