summaryrefslogtreecommitdiffstats
path: root/make/socat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/socat.mk')
-rw-r--r--make/socat.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/socat.mk b/make/socat.mk
index 92344d07c..35bc6326f 100644
--- a/make/socat.mk
+++ b/make/socat.mk
@@ -27,9 +27,11 @@ $(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked
rm -f $(SOCAT_WORKDIR)/Makefile
mkdir -p $(SOCAT_WORKDIR)
(cd $(SOCAT_WORKDIR); rm -rf config.cache; \
- PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
$(SOCAT_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \