diff options
| author | Hauke Mehrtens | 2026-02-17 21:23:27 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:30:37 +0000 |
| commit | 482ba7230a4fbbc9d85fc587c354d423e04984c3 (patch) | |
| tree | b002e856be26540439c16d5216ebd72c8ebdfe50 | |
| parent | 9cd17a1064b55f183e100b94889f41baf0114aaa (diff) | |
| download | openwrt-482ba7230a4fbbc9d85fc587c354d423e04984c3.tar.gz | |
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 <hauke@hauke-m.de>
(cherry picked from commit c3f2a09a25b17d16f9c38dc49cc3a4b424d1e1d6)
| -rw-r--r-- | package/utils/ucode-mod-bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/ucode-mod-bpf/Makefile b/package/utils/ucode-mod-bpf/Makefile index a748b9dbbd..8454ad16c4 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 |