aboutsummaryrefslogtreecommitdiff
path: root/config/comp_libs.in
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/comp_libs.in
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/comp_libs.in')
-rw-r--r--config/comp_libs.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/comp_libs.in b/config/comp_libs.in
index 6dd8099e..502e95a3 100644
--- a/config/comp_libs.in
+++ b/config/comp_libs.in
@@ -105,6 +105,11 @@ config ZLIB_NEEDED
bool "Build local zlib"
select COMP_LIBS_ZLIB
+config ZSTD_NEEDED
+ bool "Build local zstd"
+ default y if CANADIAN || CROSS_NATIVE
+ select COMP_LIBS_ZSTD
+
# FIXME remove these legacy knobs
config LIBICONV
def_bool y
@@ -150,4 +155,8 @@ config ZLIB
def_bool y
depends on ZLIB_NEEDED
+config ZSTD
+ def_bool y
+ depends on ZSTD_NEEDED
+
endmenu