diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2 index 927cce89..96bd22bf 100644 --- a/config/libc/newlib.in.2 +++ b/config/libc/newlib.in.2 @@ -140,6 +140,7 @@ config LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE config LIBC_NEWLIB_LTO bool prompt "Enable Link Time Optimization" + depends on CC_GCC_USE_LTO help Builds the libraries with -flto to enable more aggressive link time optimization. You will need to add -flto-partition=one to your