summaryrefslogtreecommitdiff
path: root/package/ethtool
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-03-13 22:59:59 +0000
committerEric Andersen <andersen@codepoet.org>2007-03-13 22:59:59 +0000
commit85d7f6f05f87b52a56b603c95e68498f04877f64 (patch)
tree5a3ca2b8e415e92f331976457635fa28ac037ba3 /package/ethtool
parent0c47ba4dd7ee27bbd6bc5fb805bf344ec2e0d9af (diff)
fixup package LDFLAGS handling
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) \