summaryrefslogtreecommitdiff
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, 2 insertions, 2 deletions
diff --git a/make/socat.mk b/make/socat.mk
index 9a9fc6019..d64612970 100644
--- a/make/socat.mk
+++ b/make/socat.mk
@@ -23,11 +23,11 @@ $(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE)
bzip2 -d -c $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) -xvf -
touch $(SOCAT_DIR)/.unpacked
-$(SOCAT_WORKDIR)/Makefile: $(TARGET_CC) $(SOCAT_DIR)/.unpacked
+$(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked
rm -f $(SOCAT_WORKDIR)/Makefile
mkdir -p $(SOCAT_WORKDIR)
(cd $(SOCAT_WORKDIR); rm -rf config.cache; \
- PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
+ PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \
$(SOCAT_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \