diff options
| author | Hauke Mehrtens | 2026-02-17 21:22:07 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:30:34 +0000 |
| commit | 5884c75aadd775f6646d0bdb2471ac33f125a15b (patch) | |
| tree | f1c7fb545c8473efc53dd22f652b200d3416f4a8 | |
| parent | 5f724fc3199dd4a1a3cd9646aef1ac4c177de4f9 (diff) | |
| download | openwrt-5884c75aadd775f6646d0bdb2471ac33f125a15b.tar.gz | |
arptables: add CPPFLAGS
Add the OpenWrt CPPFLAGS to the CFLAGS. arptables 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>
(cherry picked from commit 33b2c6f955fb2a088f582f84871b05fc9db5e11c)
| -rw-r--r-- | package/network/utils/arptables/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/arptables/Makefile b/package/network/utils/arptables/Makefile index 7f32ed1395..260824359a 100644 --- a/package/network/utils/arptables/Makefile +++ b/package/network/utils/arptables/Makefile @@ -31,7 +31,7 @@ define Package/arptables-legacy endef MAKE_FLAGS += \ - COPT_FLAGS="$(TARGET_CFLAGS) -D__OPTIMIZE__=1" \ + COPT_FLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -D__OPTIMIZE__=1" \ KERNEL_DIR="$(LINUX_DIR)" define Package/arptables-legacy/install |