aboutsummaryrefslogtreecommitdiff
path: root/package/socat/socat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/socat/socat.mk')
-rw-r--r--package/socat/socat.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/socat/socat.mk b/package/socat/socat.mk
index 7c62392356..15f57ab715 100644
--- a/package/socat/socat.mk
+++ b/package/socat/socat.mk
@@ -29,6 +29,8 @@ $(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked
mkdir -p $(SOCAT_WORKDIR)
(cd $(SOCAT_WORKDIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)"
$(SOCAT_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \