From f9b57cc78a9ba496942743046a0d640a3daed026 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 2 Apr 2019 08:48:27 -0700 Subject: 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 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. -- cgit v0.10.2-6-g49f6