elfutils: fix build with gcc 8

This commit is contained in:
coolsnowwolf 2024-12-03 22:27:16 +08:00
parent 0c725fe51b
commit 2ce0dfdc41

View File

@ -89,7 +89,7 @@ TARGET_CFLAGS += \
-Wno-unused-result \
-Wno-format-nonliteral
ifneq ($(CONFIG_GCC_USE_VERSION_11),y)
ifneq ($(filter $(GCC_MAJOR_VERSION),12 13),)
TARGET_CFLAGS += \
-Wno-error=use-after-free
endif