diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-08-30 19:21:50 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 19:21:50 +1200 |
commit | 4de586cd2ee8fe7de53bc0ede6ab25e3c71412cd (patch) | |
tree | 60bf7a60bcfd2f3c516699128dc787933f496e73 /scripts | |
parent | f64bd272d8b879662ddbfecc9661553cac987c92 (diff) | |
parent | b346fa58b15b9880b714c6f0cc4dddaf84d3da6f (diff) | |
download | crosstool-ng-4de586cd2ee8fe7de53bc0ede6ab25e3c71412cd.tar.gz crosstool-ng-4de586cd2ee8fe7de53bc0ede6ab25e3c71412cd.tar.bz2 crosstool-ng-4de586cd2ee8fe7de53bc0ede6ab25e3c71412cd.zip |
Merge pull request #1589 from cpackham/zstd
cc/gcc: Add options for zstd usage
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/cc/gcc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 4e0def05..fdfa7d65 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -1130,6 +1130,11 @@ do_gcc_backend() { else extra_config+=("--disable-lto") fi + case "${CT_CC_GCC_LTO_ZSTD}" in + y) extra_config+=("--with-zstd");; + m) ;; + *) extra_config+=("--without-zstd");; + esac if [ ${#host_libstdcxx_flags[@]} -ne 0 ]; then extra_config+=("--with-host-libstdcxx=${host_libstdcxx_flags[*]}") |