mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-20 18:12:24 +01:00
wireless-tools: add CPPFLAGS
Add the OpenWrt CPPFLAGS to the CFLAGS. wireless-tools 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
0f1c1c581f
commit
d69b283068
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ define Build/Compile
|
|||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I." \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I." \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
BUILD_WE_ESSENTIAL=y \
|
||||
LIBS="-lm -Wl,--gc-sections" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue