ulib: Disable LTO when building the library
The library uses symbol renaming, but this is not supported with LTO. Ensure that LTO is disabled if ULIB is used. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
2
Kconfig
2
Kconfig
@@ -128,7 +128,7 @@ config ARCH_SUPPORTS_LTO
|
||||
|
||||
config LTO
|
||||
bool "Enable Link Time Optimizations"
|
||||
depends on ARCH_SUPPORTS_LTO
|
||||
depends on ARCH_SUPPORTS_LTO && !ULIB
|
||||
help
|
||||
This option enables Link Time Optimization (LTO), a mechanism which
|
||||
allows the compiler to optimize between different compilation units.
|
||||
|
||||
Reference in New Issue
Block a user