summaryrefslogtreecommitdiffstats
path: root/make/hostap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/hostap.mk')
-rw-r--r--make/hostap.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/hostap.mk b/make/hostap.mk
index 3edcf9a35..e2c49f7d9 100644
--- a/make/hostap.mk
+++ b/make/hostap.mk
@@ -24,11 +24,11 @@ $(HOSTAP_DIR)/.configured: $(HOSTAP_DIR)/.unpacked
touch $(HOSTAP_DIR)/.configured
$(HOSTAP_DIR)/driver/modules/hostap.o: $(HOSTAP_DIR)/.configured
- $(MAKE) -C $(HOSTAP_DIR) pccard KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC)
- $(MAKE) -C $(HOSTAP_DIR) pci KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC)
- $(MAKE) -C $(HOSTAP_DIR) plx KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC)
- $(MAKE) -C $(HOSTAP_DIR)/utils CC=$(TARGET_CC)
- $(MAKE) -C $(HOSTAP_DIR)/hostapd CC=$(TARGET_CC)
+ $(MAKE) -C $(HOSTAP_DIR) pccard KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
+ $(MAKE) -C $(HOSTAP_DIR) pci KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
+ $(MAKE) -C $(HOSTAP_DIR) plx KERNEL_PATH=$(LINUX_SOURCE_DIR) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
+ $(MAKE) -C $(HOSTAP_DIR)/utils CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
+ $(MAKE) -C $(HOSTAP_DIR)/hostapd CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
touch -c $(HOSTAP_DIR)/driver/modules/hostap.o
$(HOSTAP_TARGET_MODULE_DIR)/hostap.o: $(HOSTAP_DIR)/driver/modules/hostap.o