mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 04:47:28 -04:00
binutils: add CPPFLAGS
Forward the OpenWrt CPPFLAGS to the compile process. 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 35939e4db9)
This commit is contained in:
@@ -93,6 +93,9 @@ CONFIGURE_ARGS += \
|
|||||||
--without-msgpack \
|
--without-msgpack \
|
||||||
--disable-gprofng
|
--disable-gprofng
|
||||||
|
|
||||||
|
MAKE_VARS+= \
|
||||||
|
CPPFLAGS="$(TARGET_CPPFLAGS)"
|
||||||
|
|
||||||
define Build/Install
|
define Build/Install
|
||||||
$(call Build/Install/Default)
|
$(call Build/Install/Default)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/libiberty \
|
$(MAKE) -C $(PKG_BUILD_DIR)/libiberty \
|
||||||
|
|||||||
Reference in New Issue
Block a user