]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
iwcap: add CPPFLAGS
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Feb 2026 23:53:21 +0000 (00:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:09 +0000 (22:25 +0100)
Forward the OpenWrt CPPFLAGS to the compile process. 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/iwcap/Makefile

index 7b43d6222aeabab9dc815f9f30d5a300e33cccac..cc63a2ebb34b761a35c3c6f8c422307d6ae4e748 100644 (file)
@@ -33,7 +33,7 @@ define Build/Configure
 endef
 
 define Build/Compile
-       $(TARGET_CC) $(TARGET_CFLAGS) \
+       $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) \
                -o $(PKG_BUILD_DIR)/iwcap $(PKG_BUILD_DIR)/iwcap.c
 endef