diff options
| author | Hauke Mehrtens | 2026-02-16 23:26:30 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-02-17 21:30:17 +0000 |
| commit | 370af1aa65c670527227ef59ceb1193bc9a98b2c (patch) | |
| tree | 775505f6a70d86c268d3ee748faf6d600fab0715 | |
| parent | bdc594e0af6ee2c8c969b7b2631c978d02a79c60 (diff) | |
| download | openwrt-370af1aa65c670527227ef59ceb1193bc9a98b2c.tar.gz | |
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 35939e4db93975c54ec002e6820f889906e6fcac)
| -rw-r--r-- | package/devel/binutils/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ |