[openwrt/openwrt] iwinfo: add CPPFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 17 13:27:55 PST 2026
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec
commit 379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec
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>
---
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