mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-25 12:14:09 -05: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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user