mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
elfutils: fix build with GCC 12/13
This commit is contained in:
parent
9042bd040a
commit
3d715feecc
@ -83,6 +83,11 @@ CONFIGURE_VARS += \
|
|||||||
|
|
||||||
TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral
|
TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral
|
||||||
|
|
||||||
|
ifneq ($(filter $(GCC_MAJOR_VERSION),12 13),)
|
||||||
|
TARGET_CFLAGS += \
|
||||||
|
-Wno-error=use-after-free
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
|
Loading…
Reference in New Issue
Block a user