From 77d896725f0678a7824c8a3ee46b6401df34000c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 17 Feb 2026 22:22:44 +0100 Subject: [PATCH] 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 --- package/network/utils/ebtables/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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