浏览代码

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 <[email protected]>
[a.heider: split and switch to PKG_BUILD_FLAGS]
Signed-off-by: Andre Heider <[email protected]>
Robert Marko 2 年之前
父节点
当前提交
1342afcd27
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/kernel/qca-ssdk/Makefile

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