aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-02-25 16:04:57 +1300
committerChris Packham <judge.packham@gmail.com>2023-03-08 16:54:34 +1300
commit711e7bc114e58ca8db54dbfaff2b6e36d0679c2b (patch)
treee74da9898428e34619880aa2615c793650a2e6e6 /scripts/build
parent1d298004c1fd3480603731113af19a334059c4e6 (diff)
downloadcrosstool-ng-711e7bc114e58ca8db54dbfaff2b6e36d0679c2b.tar.gz
crosstool-ng-711e7bc114e58ca8db54dbfaff2b6e36d0679c2b.tar.bz2
crosstool-ng-711e7bc114e58ca8db54dbfaff2b6e36d0679c2b.zip
binutils: Add binutils 2.40
https://sourceware.org/pipermail/binutils/2023-January/125671.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/binutils/binutils.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh
index fdec508f..eff19c46 100644
--- a/scripts/build/binutils/binutils.sh
+++ b/scripts/build/binutils/binutils.sh
@@ -176,6 +176,12 @@ do_binutils_backend() {
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
+ if [ "${CT_COMP_LIBS_ZSTD}}" = "y" ]; then
+ extra_config+=("--with-zstd=${complibs}")
+ else
+ extra_config+=("--without-zstd")
+ fi
+
# Disable usage of glob for higher compatibility.
# Not strictly needed for anything but GDB anyways.
export ac_cv_func_glob=no