summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-04-02 15:48:27 (GMT)
committerAlexey Neyman <stilor@att.net>2019-04-05 01:57:42 (GMT)
commitf9b57cc78a9ba496942743046a0d640a3daed026 (patch)
treef19666c0b565cb09004374aaca076b23c262df88 /config
parenta34f7e81ae93ed50a491e68d526a41e8b3a135a6 (diff)
Enable zlib companion lib if building LTO
While we may use build machine's library when building a simple cross, we won't have it for the host machine in a canadian build. Until there are separate selectables for the build/host components, just build our own local zlib. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-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.