mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 09:21:52 +00:00
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>
This commit is contained in:
parent
b510e062c4
commit
f6d3f498f0
@ -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…
x
Reference in New Issue
Block a user