]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ebtables: add CPPFLAGS
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:22:44 +0000 (22:22 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 Feb 2026 21:25:26 +0000 (22:25 +0100)
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>
package/network/utils/ebtables/Makefile

index 33a95f10ea661fd63e3ba725cbd73d5354aabd80..fd195f35eda9da891b9bdef92870e81771662cf1 100644 (file)
@@ -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