aboutsummaryrefslogtreecommitdiff
path: root/core/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'core/gcc')
-rwxr-xr-xcore/gcc/build16
-rw-r--r--core/gcc/checksums13
-rw-r--r--core/gcc/meta3
-rw-r--r--core/gcc/sources6
-rw-r--r--core/gcc/version2
5 files changed, 20 insertions, 20 deletions
diff --git a/core/gcc/build b/core/gcc/build
index e3bb1e03..23f78b98 100755
--- a/core/gcc/build
+++ b/core/gcc/build
@@ -2,23 +2,17 @@
sys_arch=${3:-$(uname -m)}
-sed_i() {
- for file; do :; done
- sed "$@" > _
- cat _ > "$file"; rm -f _
-}
-
# Make sure gmp is built with generic options.
cp gcc/gmp/configfsf.guess gcc/gmp/config.guess
cp gcc/gmp/configfsf.sub gcc/gmp/config.sub
if [ "${sys_arch#i*86}" ]; then
# Do not create lib64 directories
- sed_i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
- sed_i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
+ clsed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
+ clsed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
else
# Apply libssp patch for i686.
- (cd gcc; patch -Np1 < ../musl-libssp.patch)
+ patch -d gcc -p1 < musl-libssp.patch
fi
case "$sys_arch" in
@@ -33,6 +27,8 @@ cd gcc-build
export libat_cv_have_ifunc=no
+# Word splitting is intentional
+# shellcheck disable=2086
../gcc/configure \
--prefix=/usr \
--disable-multilib \
@@ -71,7 +67,7 @@ find "$1" -name libgij.a -exec rm -f {} +
ln -s gcc "$1/usr/bin/cc"
# POSIX compliance.
-install -Dm755 ../c99 "$1/usr/bin/c99"
+clinst -Dm755 ../c99 "$1/usr/bin/c99"
# Symlink for LTO.
{
diff --git a/core/gcc/checksums b/core/gcc/checksums
index 27586eaf..571deb53 100644
--- a/core/gcc/checksums
+++ b/core/gcc/checksums
@@ -1,6 +1,7 @@
-4c4a6fb8a8396059241c2e674b85b351c26a5d678274007f076957afa1cc9ddf gcc-11.1.0.tar.xz
-fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
-0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
-17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz
-765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c c99
-4ece19529edb8e681e1778e977e2ba1d47984ccfcb82505e8b898bb29d659625 musl-libssp.patch
+%BLAKE3
+875af4d704560973ada577955392735ded87e6fd304bd0cbaf8ac795390501c7 gcc-13.2.0.tar.xz
+52cecfbbe286820d1f8bc118769008acb6451bd074fe6dea9e868d54b2ada855 gmp-6.2.1.tar.xz
+4e95c8d9eda9a18d01dd3ac5879437c51aa0357b6feb997aa4aeb30762a903e1 mpfr-4.2.0.tar.xz
+86d083c43c08e98d4470c006a01e0df727c8ff56ddd2956b170566ba8c9a46de mpc-1.3.1.tar.gz
+0930e07dc2c5bf1172f3fd003a1be7abc3c0c420ce5bd76bc2e514c63800adcb c99
+30c25e440a4ac72bf7dc50e564b94a8c4ef43e4b2030c12d3042a78fb3cbc825 musl-libssp.patch
diff --git a/core/gcc/meta b/core/gcc/meta
new file mode 100644
index 00000000..fe87fa76
--- /dev/null
+++ b/core/gcc/meta
@@ -0,0 +1,3 @@
+description: GNU Compiler Collection
+license: GPL-3.0-or-later, LGPL-2.1-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/core/gcc/sources b/core/gcc/sources
index 63de2a34..5ca396bf 100644
--- a/core/gcc/sources
+++ b/core/gcc/sources
@@ -1,6 +1,6 @@
-https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz gcc
+https://gcc.gnu.org/pub/gcc/releases/gcc-13.2.0/gcc-13.2.0.tar.xz gcc
https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz gcc/gmp
-https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz gcc/mpfr
-https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz gcc/mpc
+https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.0.tar.xz gcc/mpfr
+https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz gcc/mpc
files/c99
patches/musl-libssp.patch
diff --git a/core/gcc/version b/core/gcc/version
index ec1ee9a6..510ef747 100644
--- a/core/gcc/version
+++ b/core/gcc/version
@@ -1 +1 @@
-11.1.0 1
+13.2.0 1