summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannu Nyman2025-10-26 10:29:54 +0000
committerHauke Mehrtens2025-10-26 23:49:39 +0000
commit096739a93d16fa8a923d3f80e1a9c570be5d38d2 (patch)
treec8dc944bf8419f5bb345f4749ebadb90d777d601
parent61f16a6960be0ed9d8d173796fcb4dd633eea317 (diff)
downloadopenwrt-096739a93d16fa8a923d3f80e1a9c570be5d38d2.tar.gz
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@iki.fi> Link: https://github.com/openwrt/openwrt/pull/20552 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/libs/elfutils/Makefile3
1 files changed, 2 insertions, 1 deletions
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