summaryrefslogtreecommitdiff
path: root/make/gawk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/gawk.mk')
-rw-r--r--make/gawk.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/gawk.mk b/make/gawk.mk
index 691dff4a7..3a2831e46 100644
--- a/make/gawk.mk
+++ b/make/gawk.mk
@@ -21,9 +21,12 @@ $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE)
$(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked
(cd $(GAWK_DIR); rm -rf config.cache; \
- PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
+ ac_cv_func_getpgrp_void=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \