kernel: qca-ssdk: opt-out of LTO
authorRobert Marko <robimarko@gmail.com>
Tue, 31 Jan 2023 11:03:09 +0000 (12:03 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 21 Mar 2023 17:28:23 +0000 (18:28 +0100)
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@gmail.com>
[a.heider: split and switch to PKG_BUILD_FLAGS]
Signed-off-by: Andre Heider <a.heider@gmail.com>
package/kernel/qca-ssdk/Makefile

index c9829d15164205046f640a0a6c6a1b187e4958b0..62c60fc1becde5ad9254d890ca1b7468e0a1e3b9 100644 (file)
@@ -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