[openwrt/openwrt] iwcap: add CPPFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 17 13:32:13 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/0cd63fda4cdd888b35e705166a66ed6b0cc73cc7
commit 0cd63fda4cdd888b35e705166a66ed6b0cc73cc7
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Feb 17 00:53:21 2026 +0100
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 at hauke-m.de>
(cherry picked from commit bfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9)
---
package/network/utils/iwcap/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the lede-commits
mailing list