From: Hauke Mehrtens Date: Tue, 17 Feb 2026 21:22:07 +0000 (+0100) Subject: arptables: add CPPFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b2c6f955fb2a088f582f84871b05fc9db5e11c;p=thirdparty%2Fopenwrt.git arptables: add CPPFLAGS Add the OpenWrt CPPFLAGS to the CFLAGS. arptables 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/arptables/Makefile b/package/network/utils/arptables/Makefile index 7f32ed13954..260824359a1 100644 --- a/package/network/utils/arptables/Makefile +++ b/package/network/utils/arptables/Makefile @@ -31,7 +31,7 @@ define Package/arptables-legacy endef MAKE_FLAGS += \ - COPT_FLAGS="$(TARGET_CFLAGS) -D__OPTIMIZE__=1" \ + COPT_FLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -D__OPTIMIZE__=1" \ KERNEL_DIR="$(LINUX_DIR)" define Package/arptables-legacy/install