From: Hauke Mehrtens Date: Mon, 16 Feb 2026 23:53:21 +0000 (+0100) Subject: iwcap: add CPPFLAGS X-Git-Tag: v25.12.0-rc5~9 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0cd63fda4cdd888b35e705166a66ed6b0cc73cc7;p=thirdparty%2Fopenwrt.git iwcap: add CPPFLAGS 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 (cherry picked from commit bfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9) --- diff --git a/package/network/utils/iwcap/Makefile b/package/network/utils/iwcap/Makefile index 7b43d6222ae..cc63a2ebb34 100644 --- a/package/network/utils/iwcap/Makefile +++ b/package/network/utils/iwcap/Makefile @@ -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