From 5e67c6221da6fd8a392665c7d3f22f8742ae081d Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Thu, 30 May 2024 19:20:56 -0300 Subject: [PATCH] Update to GCC 14.1.0 --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index a9bbe84..ed42632 100644 --- a/build.sh +++ b/build.sh @@ -50,7 +50,7 @@ function setup_gcc_source() { [ -d "${gcc_directory}/build" ] || mkdir "${gcc_directory}/build" - sed --in-place 's/LDBL_MANT_DIG == 113/defined(__powerpc__) || defined(__powerpc64__)/g' "${gcc_directory}/libgcc/dfp-bit.h" + sed --in-place 's/LDBL_MANT_DIG == 113/defined(__powerpc__) || defined(__powerpc64__) || defined(__s390x__)/g' "${gcc_directory}/libgcc/dfp-bit.h" sed --in-place 's/soft-fp.h/this-does-not-exist.h/g' "${gcc_directory}/libquadmath/math/sqrtq.c" @@ -156,6 +156,7 @@ make all --jobs make install declare -ra targets=( + 's390x-unknown-linux-musl' 'powerpc64le-unknown-linux-musl' 'powerpc-unknown-linux-musl' 'mips-unknown-linux-musl' @@ -166,7 +167,6 @@ declare -ra targets=( 'aarch64-unknown-linux-musl' 'arm-unknown-linux-musleabihf' 'riscv64-unknown-linux-musl' - 's390x-unknown-linux-musl' 'i386-unknown-linux-musl' ) @@ -208,7 +208,7 @@ for target in "${targets[@]}"; do CXXFLAGS="${optflags}" \ LDFLAGS="${linkflags}" - make all --jobs="${max_jobs}" + make all --jobs make install setup_gcc_source "${triplet}"