summaryrefslogtreecommitdiffstats
path: root/make/ntp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/ntp.mk')
-rw-r--r--make/ntp.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/ntp.mk b/make/ntp.mk
index e7c820aeb..5b3b94fb9 100644
--- a/make/ntp.mk
+++ b/make/ntp.mk
@@ -24,9 +24,11 @@ $(NTP_DIR)/.unpacked: $(DL_DIR)/$(NTP_SOURCE)
$(NTP_DIR)/.configured: $(NTP_DIR)/.unpacked
(cd $(NTP_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 \