summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-16 23:53:21 +0000
committerHauke Mehrtens2026-02-17 21:30:26 +0000
commit0cd63fda4cdd888b35e705166a66ed6b0cc73cc7 (patch)
treeba6cbf91674fbba316d303dc4bbd45c32b75b9c0
parent9f88e5c743fd8148474ccef399ca8abdc7843ace (diff)
downloadopenwrt-0cd63fda4cdd888b35e705166a66ed6b0cc73cc7.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> (cherry picked from commit bfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9)
-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