mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-20 03:41:28 +01:00
bzip2: add CPPFLAGS
Add the OpenWrt CPPFLAGS to the CFLAGS. bzip2 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 cd1fda5c8b)
This commit is contained in:
parent
da0b16367c
commit
afbcaa4525
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ CONFIGURE_ARGS += --prefix=/usr
|
|||
|
||||
MAKE_FLAGS += \
|
||||
-f Makefile-libbz2_so \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
all
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ HOST_CFLAGS += \
|
|||
$(FPIC)
|
||||
|
||||
HOST_MAKE_FLAGS+= \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
CFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
all
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue