summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-17 21:22:07 +0000
committerHauke Mehrtens2026-02-17 21:25:22 +0000
commit33b2c6f955fb2a088f582f84871b05fc9db5e11c (patch)
tree7e9f4e0affb0aece65bacd3f53700c232854e1c2
parent379d5b8bc4dc6930cbb93e5e3d542fc3386c1eec (diff)
downloadopenwrt-33b2c6f955fb2a088f582f84871b05fc9db5e11c.tar.gz
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 <hauke@hauke-m.de>
-rw-r--r--package/network/utils/arptables/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/arptables/Makefile b/package/network/utils/arptables/Makefile
index 7f32ed1395..260824359a 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