From 35939e4db93975c54ec002e6820f889906e6fcac Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 17 Feb 2026 00:26:30 +0100 Subject: [PATCH] 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 --- package/devel/binutils/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index 4ccea86338..5f906b1ede 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 \