[PATCH u-boot 39/39] DO NOT MERGE! ARM: enable LTO by default

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


Build ARM 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 bf4b8afcb4..d0f5a16b95 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -37,6 +37,7 @@ config ARM
 	select CREATE_ARCH_SYMLINK
 	select HAVE_PRIVATE_LIBGCC if !ARM64
 	select SUPPORT_OF_CONTROL
+	imply LTO
 
 config M68K
 	bool "M68000 architecture"
-- 
2.26.2



More information about the U-Boot mailing list