summaryrefslogtreecommitdiff
path: root/package/ethtool
diff options
context:
space:
mode:
Diffstat (limited to 'package/ethtool')
-rw-r--r--package/ethtool/ethtool.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk
index 3ddda4177..38a2aeae3 100644
--- a/package/ethtool/ethtool.mk
+++ b/package/ethtool/ethtool.mk
@@ -21,6 +21,8 @@ $(ETHTOOL_DIR)/.unpacked: $(DL_DIR)/$(ETHTOOL_SOURCE)
$(ETHTOOL_DIR)/.configured: $(ETHTOOL_DIR)/.unpacked
(cd $(ETHTOOL_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \