gcc: Disable zstd for canadian builds
We don't currently bundle zstd so when performing a canadian build we need to tell GCC not to enable zstd support for lto otherwise it might decide to enable it based on the package being installed on the build machine. Fixes #1718 Signed-off-by: Chris Packham <judge.packham@gmail.com> (cherry picked from commit f6d3f498f06a8904dd49a82fc26567dd5a8ed60f)
This commit is contained in:
parent
966588d13b
commit
dcf088c420
|
@ -177,10 +177,9 @@ config CC_GCC_USE_LTO
|
|||
config CC_GCC_LTO_ZSTD
|
||||
tristate
|
||||
prompt "Support LTO compression with zstd"
|
||||
default m
|
||||
default m if !CANADIAN && !STATIC_TOOLCHAIN
|
||||
depends on CC_GCC_USE_LTO
|
||||
depends on GCC_10_or_later
|
||||
depends on ! STATIC_TOOLCHAIN
|
||||
help
|
||||
Support zstd compression for LTO object files. This will require
|
||||
libzstd to be installed when using the toolchain
|
||||
|
|
Loading…
Reference in New Issue