From 096739a93d16fa8a923d3f80e1a9c570be5d38d2 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 26 Oct 2025 12:29:54 +0200 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/20552 Signed-off-by: Hauke Mehrtens --- 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 bbf665d6577..2c62ea90d1d 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 -- 2.47.3