summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-17 21:22:44 +0000
committerHauke Mehrtens2026-02-17 21:25:26 +0000
commit77d896725f0678a7824c8a3ee46b6401df34000c (patch)
treee4ee7988a0826ffd2008a5cc29640aeb6c6a47fd
parent33b2c6f955fb2a088f582f84871b05fc9db5e11c (diff)
downloadopenwrt-77d896725f0678a7824c8a3ee46b6401df34000c.tar.gz
ebtables: add CPPFLAGS
Add the OpenWrt CPPFLAGS to the CFLAGS. ebtables 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/ebtables/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/ebtables/Makefile b/package/network/utils/ebtables/Makefile
index 33a95f10ea..fd195f35ed 100644
--- a/package/network/utils/ebtables/Makefile
+++ b/package/network/utils/ebtables/Makefile
@@ -56,7 +56,7 @@ endef
MAKE_VARS += EXT_LIBSI="$(LIBGCC_S)"
MAKE_FLAGS += \
- CFLAGS="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
LIBDIR="/usr/lib/ebtables"
define Package/ebtables-legacy/install