From: Hauke Mehrtens Date: Tue, 17 Feb 2026 21:23:27 +0000 (+0100) Subject: ucode-mod-bpf: add CPPFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f2a09a25b17d16f9c38dc49cc3a4b424d1e1d6;p=thirdparty%2Fopenwrt.git ucode-mod-bpf: add CPPFLAGS Forward the OpenWrt CPPFLAGS to the compile process. This fixes fortify sources support. Link: https://github.com/openwrt/openwrt/pull/22056 Signed-off-by: Hauke Mehrtens --- diff --git a/package/utils/ucode-mod-bpf/Makefile b/package/utils/ucode-mod-bpf/Makefile index a748b9dbbd0..8454ad16c4d 100644 --- a/package/utils/ucode-mod-bpf/Makefile +++ b/package/utils/ucode-mod-bpf/Makefile @@ -32,7 +32,7 @@ define Build/Configure endef define Build/Compile - $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(FPIC) \ + $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(FPIC) \ -Wall -ffunction-sections -Wl,--gc-sections -shared -Wl,--no-as-needed -lbpf \ -o $(PKG_BUILD_DIR)/bpf.so $(PKG_BUILD_DIR)/bpf.c endef