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:
Hauke Mehrtens
2026-02-17 00:26:30 +01:00
parent bdc594e0af
commit 370af1aa65

View File

@@ -93,6 +93,9 @@ CONFIGURE_ARGS += \
--without-msgpack \
--disable-gprofng
MAKE_VARS+= \
CPPFLAGS="$(TARGET_CPPFLAGS)"
define Build/Install
$(call Build/Install/Default)
$(MAKE) -C $(PKG_BUILD_DIR)/libiberty \