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>
This commit is contained in:
Alexey Neyman 2019-04-02 08:48:27 -07:00
parent a34f7e81ae
commit f9b57cc78a

View File

@ -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.