mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-21 15:12:25 +01:00
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>
This commit is contained in:
parent
379d5b8bc4
commit
33b2c6f955
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue