Added experimental LTO kconfig option

This commit is contained in:
Peter van der Perk
2022-02-24 18:41:42 +01:00
committed by Daniel Agar
parent 8da02e2233
commit 108c98a691
6 changed files with 26 additions and 11 deletions
+7
View File
@@ -51,6 +51,13 @@ menu "Toolchain"
string "Architecture"
default ""
config BOARD_LTO
bool "(EXPERIMENTAL) Link Time Optimization (LTO)"
default n
help
Enables LTO flag in linker
Note: Highly EXPERIMENTAL, furthermore make sure you're using a modern compiler GCC 9 or later
config BOARD_FULL_OPTIMIZATION
bool "Full optmization (O3)"
default n