summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-04-29 20:42:34 +0200
committerMichel Zou2020-04-29 20:42:34 +0200
commit26f44204545888610ff7cb211587d8bc75311675 (patch)
tree5a0d7c3783327252a67e929ada5c1ec92676ded8
parent8b83b91e9ca73d0767dd268681b5e79349e258af (diff)
downloadaur-26f44204545888610ff7cb211587d8bc75311675.tar.gz
9.3.0
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD35
2 files changed, 31 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d3744e2cb81..2e5924657a5f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = psp-gcc
pkgdesc = The GNU Compiler Collection - C and C++ frontends (psp)
- pkgver = 4.9.3
+ pkgver = 9.3.0
pkgrel = 1
url = http://gcc.gnu.org
- arch = i686
arch = x86_64
groups = psp
license = GPL
@@ -18,14 +17,16 @@ pkgbase = psp-gcc
options = !buildflags
options = !strip
options = staticlibs
- source = http://ftp.gnu.org/pub/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2
- source = https://gmplib.org/download/gmp/gmp-5.1.3.tar.lz
- source = https://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz
- source = http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2
- sha256sums = 2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e
- sha256sums = 9a6bde619a9dcdcb68a856be1b32a097a2a04fec2ce6d6fe0877d941f9309c50
- sha256sums = b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488
- sha256sums = 79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b
+ source = https://ftp.gnu.org/gnu/gcc/gcc-9.3.0/gcc-9.3.0.tar.gz
+ source = https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2
+ source = https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
+ source = http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.bz2
+ source = http://isl.gforge.inria.fr/isl-0.21.tar.gz
+ sha256sums = 5258a9b6afe9463c2e56b9e8355b1a4bee125ca828b8078f910303bc2ef91fa6
+ sha256sums = 5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2
+ sha256sums = 6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
+ sha256sums = c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc
+ sha256sums = 6d670e6b90ef220c80f79e538aa512e9eda77214058d668c77931143dc9374a2
pkgname = psp-gcc
diff --git a/PKGBUILD b/PKGBUILD
index 46856a7a7dc1..1a2aa25780b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
pkgname=psp-gcc
-pkgver=4.9.3
+pkgver=9.3.0
pkgrel=1
pkgdesc="The GNU Compiler Collection - C and C++ frontends (psp)"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://gcc.gnu.org"
license=('GPL' 'LGPL' 'FDL' 'custom')
groups=('psp')
@@ -10,24 +10,26 @@ depends=('psp-binutils' 'psp-newlib' 'mpfr')
conflicts=('psp-gcc-base')
provides=('psp-gcc-base')
options=('!buildflags' '!strip' 'staticlibs')
-source=("http://ftp.gnu.org/pub/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.bz2"
- "https://gmplib.org/download/gmp/gmp-5.1.3.tar.lz"
- "https://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz"
- "http://www.mpfr.org/mpfr-3.1.2/mpfr-3.1.2.tar.bz2")
-sha256sums=('2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e'
- '9a6bde619a9dcdcb68a856be1b32a097a2a04fec2ce6d6fe0877d941f9309c50'
- 'b561f54d8a479cee3bc891ee52735f18ff86712ba30f036f8b8537bae380c488'
- '79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b')
+source=("https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.gz"
+ "https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.bz2"
+ "https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz"
+ "http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.bz2"
+ "http://isl.gforge.inria.fr/isl-0.21.tar.gz")
+sha256sums=('5258a9b6afe9463c2e56b9e8355b1a4bee125ca828b8078f910303bc2ef91fa6'
+ '5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2'
+ '6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e'
+ 'c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc'
+ '6d670e6b90ef220c80f79e538aa512e9eda77214058d668c77931143dc9374a2')
prepare ()
{
cd "$srcdir/gcc-$pkgver"
- rm -f gcc/config/mips/allegrex.md gcc/config/mips/psp.h libgcc/config/mips/t-allegrex
+ rm -f gcc/config/mips/allegrex.md gcc/config/mips/psp.h libgcc/config/mips/t-allegrex gcc/config/mips/t-allegrex libgcc/config/mips/psp.h libgcc/config/t-hardfp-sf
curl -L https://raw.githubusercontent.com/pspdev/psptoolchain/master/patches/gcc-$pkgver-PSP.patch | patch -p1
- curl -L https://raw.githubusercontent.com/pspdev/psptoolchain/master/patches/patch-gcc_cp_cfns.h | patch -p0
- ln -sf "$srcdir"/gmp-5.1.3 gmp
- ln -sf "$srcdir"/mpc-1.0.2 mpc
- ln -sf "$srcdir"/mpfr-3.1.2 mpfr
+ ln -sf "$srcdir"/gmp-6.1.2 gmp
+ ln -sf "$srcdir"/mpc-1.1.0 mpc
+ ln -sf "$srcdir"/mpfr-4.0.2 mpfr
+ ln -sf "$srcdir"/isl-0.21 isl
}
build()
@@ -46,6 +48,9 @@ package()
{
cd "$srcdir/gcc-$pkgver/build-psp"
make install DESTDIR="$pkgdir"
+
+ # Remove files owned by host gcc
rm -r "$pkgdir"/usr/share
+ rm "$pkgdir"/usr/lib/libcc1.*
}