core/gcc to 7.2.1+20180116-1

This commit is contained in:
Kevin Mihelich 2018-01-24 13:46:03 +00:00
parent b6ce908184
commit 070359dc63

View file

@ -16,10 +16,10 @@
noautobuild=1 noautobuild=1
pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go) pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go)
pkgver=7.2.1+20171224 pkgver=7.2.1+20180116
_majorver=${pkgver:0:1} _majorver=${pkgver:0:1}
_islver=0.18 _islver=0.18
pkgrel=2 pkgrel=1
pkgdesc='The GNU Compiler Collection' pkgdesc='The GNU Compiler Collection'
arch=(x86_64) arch=(x86_64)
license=(GPL LGPL FDL custom) license=(GPL LGPL FDL custom)
@ -32,14 +32,14 @@ source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
c89 c99 c89 c99
0001-ARMv5-disable-LDRD-STRD.patch) 0001-ARMv5-disable-LDRD-STRD.patch)
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # bpiotrowski@archlinux.org validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # bpiotrowski@archlinux.org
sha256sums=('394c416a35dc608e5c9ea5ca902c5b08b51fcbc6b3b39ece05b8eea67033b4a8' sha256sums=('7757097376a0766bbbeed8c90ee08cab93b33d89f3e72358c8bf984401bf69d9'
'SKIP' 'SKIP'
'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b' '6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931' 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a' '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
'31e24baa9eee826d7d77dbcf8f1a6a44c92f771e52d21677acb8d76fac7ae204') '31e24baa9eee826d7d77dbcf8f1a6a44c92f771e52d21677acb8d76fac7ae204')
_svnrev=255990 _svnrev=256757
_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch _svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*} _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
@ -61,7 +61,7 @@ snapshot() {
} }
prepare() { prepare() {
ln -s gcc-${_commit} gcc mv gcc-${pkgver/+/-} gcc
cd gcc cd gcc
# link isl for in-tree build # link isl for in-tree build
@ -83,7 +83,7 @@ prepare() {
[[ $CARCH == "arm" ]] && CONFIGFLAG="--host=armv5tel-unknown-linux-gnueabi --build=armv5tel-unknown-linux-gnueabi --with-arch=armv5te --with-float=soft" [[ $CARCH == "arm" ]] && CONFIGFLAG="--host=armv5tel-unknown-linux-gnueabi --build=armv5tel-unknown-linux-gnueabi --with-arch=armv5te --with-float=soft"
[[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf --with-arch=armv6 --with-float=hard --with-fpu=vfp" [[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf --with-arch=armv6 --with-float=hard --with-fpu=vfp"
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16" [[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16"
[[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-arch=armv8-a" [[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-arch=armv8-a --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419"
mkdir -p "$srcdir/gcc-build" mkdir -p "$srcdir/gcc-build"