summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in.2
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r--config/cc/gcc.in.21
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 8818de6..638bfe9 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -124,6 +124,7 @@ config CC_GCC_USE_GRAPHITE
config CC_GCC_USE_LTO
bool "Enable LTO"
default y
+ depends on ! STATIC_TOOLCHAIN
help
Enable the Link Time Optimisations.