From: Hauke Mehrtens Date: Mon, 16 Feb 2026 23:55:11 +0000 (+0100) Subject: wireless-tools: add CPPFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69b2830681fdaeb2b19b28231e9171684ead6d1;p=thirdparty%2Fopenwrt.git wireless-tools: add CPPFLAGS Add the OpenWrt CPPFLAGS to the CFLAGS. wireless-tools does not support CPPFLAGS. This fixes fortify sources support. Link: https://github.com/openwrt/openwrt/pull/22056 Signed-off-by: Hauke Mehrtens --- diff --git a/package/network/utils/wireless-tools/Makefile b/package/network/utils/wireless-tools/Makefile index 9a19970af8d..95d1f5b2c4f 100644 --- a/package/network/utils/wireless-tools/Makefile +++ b/package/network/utils/wireless-tools/Makefile @@ -59,7 +59,7 @@ define Build/Compile mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I." \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I." \ LDFLAGS="$(TARGET_LDFLAGS)" \ BUILD_WE_ESSENTIAL=y \ LIBS="-lm -Wl,--gc-sections" \