summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in.2
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/newlib.in.2')
-rw-r--r--config/libc/newlib.in.21
1 files changed, 1 insertions, 0 deletions
diff --git a/config/libc/newlib.in.2 b/config/libc/newlib.in.2
index 927cce8..96bd22b 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