[openwrt/openwrt] kernel: qca-ssdk: opt-out of LTO

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 21 10:28:41 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1342afcd27ebc142caf859e3acb3671c0378dea0

commit 1342afcd27ebc142caf859e3acb3671c0378dea0
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Tue Jan 31 12:03:09 2023 +0100

    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 <robimarko at gmail.com>
    [a.heider: split and switch to PKG_BUILD_FLAGS]
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 package/kernel/qca-ssdk/Makefile | 1 +
 1 file changed, 1 insertion(+)

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




More information about the lede-commits mailing list