summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-17 00:19:50 +0000
committerHauke Mehrtens2026-02-17 21:25:09 +0000
commit379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec (patch)
tree72983e3e082ec0c5db94dd7ed8570e9f284235a8
parentb8ea5004f4cd3cbc48cb427914a9e46920a68518 (diff)
downloadopenwrt-379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec.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>
-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)"