Skip to content

Commit

Permalink
Update to GCC 14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 30, 2024
1 parent 556f234 commit 5e67c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down Expand Up @@ -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'
Expand All @@ -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'
)

Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 5e67c62

Please sign in to comment.