From: Hauke Mehrtens Date: Mon, 16 Feb 2026 23:26:30 +0000 (+0100) Subject: binutils: add CPPFLAGS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35939e4db93975c54ec002e6820f889906e6fcac;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index 4ccea863387..5f906b1ede6 100644 --- a/package/devel/binutils/Makefile +++ b/package/devel/binutils/Makefile @@ -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 \