[openwrt/openwrt] elfutils: add compatibility with new fortify-headers

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 26 16:50:17 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/096739a93d16fa8a923d3f80e1a9c570be5d38d2

commit 096739a93d16fa8a923d3f80e1a9c570be5d38d2
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Sun Oct 26 12:29:54 2025 +0200

    elfutils: add compatibility with new fortify-headers
    
    Add compatibility with the new fortify-headers 2.3.3 by
    disabling two warnings.
    
    Fixes: 6268692bd2bf ("toolchain: fortify-headers: Update to version 2.3.3")
    Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
    Link: https://github.com/openwrt/openwrt/pull/20552
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/libs/elfutils/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile
index bbf665d657..2c62ea90d1 100644
--- a/package/libs/elfutils/Makefile
+++ b/package/libs/elfutils/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=elfutils
 PKG_VERSION:=0.192
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://sourceware.org/$(PKG_NAME)/ftp/$(PKG_VERSION) \
@@ -87,6 +87,7 @@ TARGET_CFLAGS += \
 	-D_GNU_SOURCE \
 	-Wno-unused-result \
 	-Wno-format-nonliteral \
+	-Wno-error=nonnull-compare \
 	-Wno-error=use-after-free
 
 define Build/InstallDev




More information about the lede-commits mailing list