aboutsummaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
authorQuentin Boswank <62326551+QBos07@users.noreply.github.com>2023-02-04 15:23:40 +0000
committerChris Packham <judge.packham@gmail.com>2023-02-08 17:13:42 +1300
commit4cba29946029391a8eced017f65acb6407e0bf23 (patch)
tree7dd98667eab2d782222db7054b4bbb007286f208 /config/cc
parent0ce5b27385e35d610317ee1baa9b38dfa564b1f0 (diff)
downloadcrosstool-ng-4cba29946029391a8eced017f65acb6407e0bf23.tar.gz
crosstool-ng-4cba29946029391a8eced017f65acb6407e0bf23.tar.bz2
crosstool-ng-4cba29946029391a8eced017f65acb6407e0bf23.zip
Add zstd to the companion libs
Add zstd to the companion libs witch allows to use lto zstd compression in a canadian or cross-native enviroment Signed-off-by: QBos07 <62326551+QBos07@users.noreply.github.com> Signed-off-by: Quentin Boswank <62326551+QBos07@users.noreply.github.com>
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index d5b19c79..37c79efa 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -180,9 +180,10 @@ config CC_GCC_USE_LTO
config CC_GCC_LTO_ZSTD
tristate
prompt "Support LTO compression with zstd"
- default m if !CANADIAN && !STATIC_TOOLCHAIN
+ default m
depends on CC_GCC_USE_LTO
depends on GCC_10_or_later
+ select ZSTD_NEEDED
help
Support zstd compression for LTO object files. This will require
libzstd to be installed when using the toolchain