[openwrt/openwrt] iwinfo: add CPPFLAGS

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 17 13:32:18 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/5f724fc3199dd4a1a3cd9646aef1ac4c177de4f9

commit 5f724fc3199dd4a1a3cd9646aef1ac4c177de4f9
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Feb 17 01:19:50 2026 +0100

    iwinfo: add CPPFLAGS
    
    Add the OpenWrt CPPFLAGS to the FLAGS. iwinfo does not support CPPFLAGS.
    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 379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec)
---
 package/network/utils/iwinfo/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile
index 165fb4b67f..bc79992138 100644
--- a/package/network/utils/iwinfo/Makefile
+++ b/package/network/utils/iwinfo/Makefile
@@ -81,7 +81,7 @@ TARGET_CFLAGS += \
 
 MAKE_FLAGS += \
 	FPIC="$(FPIC)" \
-	CFLAGS="$(TARGET_CFLAGS)" \
+	CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
 	LDFLAGS="$(TARGET_LDFLAGS)" \
 	BACKENDS="nl80211" \
 	SOVERSION="$(IWINFO_ABI_VERSION)"




More information about the lede-commits mailing list