summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens2026-02-17 21:22:44 +0000
committerHauke Mehrtens2026-02-17 21:30:35 +0000
commit9cd17a1064b55f183e100b94889f41baf0114aaa (patch)
treeee320c28fc7af9ff16aa8187893e41215c9233f0
parent5884c75aadd775f6646d0bdb2471ac33f125a15b (diff)
downloadopenwrt-9cd17a1064b55f183e100b94889f41baf0114aaa.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> (cherry picked from commit 77d896725f0678a7824c8a3ee46b6401df34000c)
-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 55df72b654..d46642667c 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