summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-17 00:19:50 +0000
committerHauke Mehrtens2026-02-17 21:30:33 +0000
commit5f724fc3199dd4a1a3cd9646aef1ac4c177de4f9 (patch)
treeeb64ef0138f276aba9d1238b3d5fe603f4b9c8b5
parentacad156c0679a59dd42c8c1cd3c4e959a7bff084 (diff)
downloadopenwrt-5f724fc3199dd4a1a3cd9646aef1ac4c177de4f9.tar.gz
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@hauke-m.de> (cherry picked from commit 379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec)
-rw-r--r--package/network/utils/iwinfo/Makefile2
1 files changed, 1 insertions, 1 deletions
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)"