projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc109d1
)
binutils: add CPPFLAGS
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 16 Feb 2026 23:26:30 +0000
(
00:26
+0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 17 Feb 2026 21:16:58 +0000
(22:16 +0100)
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>
package/devel/binutils/Makefile
patch
|
blob
|
history
diff --git
a/package/devel/binutils/Makefile
b/package/devel/binutils/Makefile
index 4ccea863387986c6830e93932a4ebc45efc8f999..5f906b1ede634a5696eb79326cb68d9378b1b068 100644
(file)
--- 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 \