summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc/gcc.in')
-rw-r--r--config/cc/gcc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 6f68334..849b1ad 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -174,6 +174,7 @@ config CC_GCC_USE_LTO
bool "Enable LTO"
default y
depends on ! STATIC_TOOLCHAIN
+ select ZLIB_NEEDED
help
Enable the Link Time Optimisations.