From: Robert Marko Date: Tue, 31 Jan 2023 11:03:09 +0000 (+0100) Subject: kernel: qca-ssdk: opt-out of LTO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1342afcd27ebc142caf859e3acb3671c0378dea0;p=openwrt%2Fstaging%2Fnbd.git kernel: qca-ssdk: opt-out of LTO SSDK is doing everything custom, so trying to use mold and/or LTO fails, so lets opt-out of using both of them. Signed-off-by: Robert Marko [a.heider: split and switch to PKG_BUILD_FLAGS] Signed-off-by: Andre Heider --- diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile index c9829d1516..62c60fc1be 100644 --- a/package/kernel/qca-ssdk/Makefile +++ b/package/kernel/qca-ssdk/Makefile @@ -10,6 +10,7 @@ PKG_SOURCE_VERSION:=628b22bc3d5ee81414b75ab3de6a255c82754dec PKG_MIRROR_HASH:=859344f79504b9953639dc5aa27042249f68e3a9a269e66d7f7a25e1ab38c110 PKG_FLAGS:=nonshared +PKG_BUILD_FLAGS:=no-lto include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/package.mk