[PATCH u-boot 22/39] sandbox: enable LTO by default

Marek Behún marek.behun at nic.cz
Sun Mar 7 05:25:21 CET 2021


Build sandbox targets with LTO by default.

Signed-off-by: Marek Behún <marek.behun at nic.cz>
---
 arch/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/Kconfig b/arch/Kconfig
index a6dab3e56d..b884b7b248 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -123,6 +123,7 @@ config SANDBOX
 	select SYSRESET_CMD_POWEROFF
 	imply BITREVERSE
 	select BLOBLIST
+	imply LTO
 	imply CMD_DM
 	imply CMD_EXCEPTION
 	imply CMD_GETTIME
-- 
2.26.2



More information about the U-Boot mailing list