summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:53:21 +0000
committerHauke Mehrtens2026-02-17 21:25:09 +0000
commitbfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9 (patch)
tree6e28419e8f57640275d3eedaea15daaefae31d67
parent53e6935960b807000f90bd2220a7182c366b2af8 (diff)
downloadopenwrt-bfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9.tar.gz
iwcap: add CPPFLAGS
Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify sources support. Link: https://github.com/openwrt/openwrt/pull/22056 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/network/utils/iwcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/iwcap/Makefile b/package/network/utils/iwcap/Makefile
index 7b43d6222a..cc63a2ebb3 100644
--- a/package/network/utils/iwcap/Makefile
+++ b/package/network/utils/iwcap/Makefile
@@ -33,7 +33,7 @@ define Build/Configure
endef
define Build/Compile
- $(TARGET_CC) $(TARGET_CFLAGS) \
+ $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) \
-o $(PKG_BUILD_DIR)/iwcap $(PKG_BUILD_DIR)/iwcap.c
endef