From 3a06c6fe0b2010b53da6b90d76bb728a99dff791 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 21 Sep 2024 21:26:50 +0200 Subject: [PATCH] add LTO to menu --- Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Kconfig b/Kconfig index 743953656ae..6e5735c6898 100644 --- a/Kconfig +++ b/Kconfig @@ -569,6 +569,13 @@ mainmenu "Espressif IoT Development Framework Configuration" Enable this option if use GCC 13 or newer, and want to disable warnings which don't appear with GCC 12. + config COMPILER_ENABLE_LTO + bool "Enable LTO compile and linking" + default "n" + help + The overall aim of LTO is better runtime performance through whole-program analysis + and cross-module optimisation. + config COMPILER_DUMP_RTL_FILES bool "Dump RTL files during compilation" help