]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
iwinfo: add CPPFLAGS
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 00:19:50 +0000 (01:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000 (22:25 +0100)
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>
package/network/utils/iwinfo/Makefile

index 165fb4b67ff073ed90cc3f8e7608eddb82e278b1..bc7999213805bfeb1ddaf0f9e531cf76860ff637 100644 (file)
@@ -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)"