summaryrefslogtreecommitdiff
path: root/make/wtools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/wtools.mk')
-rw-r--r--make/wtools.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/wtools.mk b/make/wtools.mk
index 4289c962c..4050b1daf 100644
--- a/make/wtools.mk
+++ b/make/wtools.mk
@@ -19,7 +19,8 @@ $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
touch $(WTOOLS_BUILD_DIR)/.configured
$(WTOOLS_BUILD_DIR)/iwconfig: $(WTOOLS_BUILD_DIR)/.configured
- $(MAKE) -C $(WTOOLS_BUILD_DIR) KERNEL_SRC=$(BUILD_DIR)/linux CC=$(TARGET_CC)
+ $(MAKE) -C $(WTOOLS_BUILD_DIR) KERNEL_SRC=$(BUILD_DIR)/linux \
+ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig
# Copy The Wireless Tools