summaryrefslogtreecommitdiff
path: root/config/libc/newlib.in.2
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-20 07:27:21 (GMT)
committerGitHub <noreply@github.com>2017-02-20 07:27:21 (GMT)
commit6a1b5a3d7723d9b45df2f0dc0f0d2b7fdfc11d73 (patch)
tree4d8fd739374f6852777a2ce5823dadeb143d223d /config/libc/newlib.in.2
parentabcb548d189be00d3c48d50b3e14e94613200c21 (diff)
parentd20091d730f896155462333bbd770eb6e4946a52 (diff)
Merge pull request #608 from stilor/static-no-plugins
Disable LTO for static toolchain
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