aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/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 /scripts/build/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 'scripts/build/cc')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 18558533..6eeda28d 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -1087,7 +1087,7 @@ do_gcc_backend() {
extra_config+=("--disable-lto")
fi
case "${CT_CC_GCC_LTO_ZSTD}" in
- y) extra_config+=("--with-zstd");;
+ y) extra_config+=("--with-zstd=${complibs}");;
m) ;;
*) extra_config+=("--without-zstd");;
esac