From bfd57eab3dbfbdedc7a5d94b92f3a7a37a2f6fd9 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 17 Feb 2026 00:53:21 +0100 Subject: [PATCH] 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 --- package/network/utils/iwcap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3