]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
elfutils: add compatibility with new fortify-headers 20552/head
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 26 Oct 2025 10:29:54 +0000 (12:29 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Oct 2025 23:49:39 +0000 (00:49 +0100)
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>
package/libs/elfutils/Makefile

index bbf665d6577186e9a89679ad652ed22abe3e669b..2c62ea90d1dde9aecc118ebe0349bf8ab1dab03e 100644 (file)
@@ -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