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 a7807d1 commit cf2115b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function setup_gcc_source() {

if [ "${tgt}" = 'powerpc64le-unknown-linux-musl' ]; then
gcc_version='13'
gcc_directory='/tmp/gcc-13.2.0'
gcc_url='https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz'
gcc_directory='/tmp/gcc-13.3.0'
gcc_url='https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/gcc-13.3.0.tar.xz'
else
gcc_version='14'
gcc_directory='/tmp/gcc-14.1.0'
Expand All @@ -56,6 +56,8 @@ function setup_gcc_source() {

[ -d "${gcc_directory}/build" ] || mkdir "${gcc_directory}/build"

sed --in-place 's/LDBL_MANT_DIG == 106/defined(__powerpc64__)/g' "${gcc_directory}/libgcc/dfp-bit.h"

}

declare -r optflags='-Os'
Expand Down Expand Up @@ -107,8 +109,6 @@ if ! [ -f "${binutils_tarball}" ]; then
patch --directory="${binutils_directory}" --strip='1' --input="${workdir}/patches/0001-Revert-gold-Use-char16_t-char32_t-instead-of-uint16_.patch"
fi

# sed --in-place 's/LDBL_MANT_DIG == 106/defined(__powerpc64__)/g' "${gcc_directory}/libgcc/dfp-bit.h"

[ -d "${gmp_directory}/build" ] || mkdir "${gmp_directory}/build"

cd "${gmp_directory}/build"
Expand Down

0 comments on commit cf2115b

Please sign in to comment.