Просмотр исходного кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20552
Signed-off-by: Hauke Mehrtens <[email protected]>
Hannu Nyman 2 месяцев назад
Родитель
Сommit
096739a93d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      package/libs/elfutils/Makefile

+ 2 - 1
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