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 --- config/cc/gcc.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config/cc') diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 6f68334d..849b1ad0 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 v1.2.3