diff options
| author | Hauke Mehrtens | 2026-02-17 21:23:27 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:25:31 +0000 |
| commit | c3f2a09a25b17d16f9c38dc49cc3a4b424d1e1d6 (patch) | |
| tree | fdef096591febbd746e948eb206fbb73b081c030 | |
| parent | 77d896725f0678a7824c8a3ee46b6401df34000c (diff) | |
| download | openwrt-c3f2a09a25b17d16f9c38dc49cc3a4b424d1e1d6.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>
| -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 |