diff options
author | Louise | 2019-01-22 18:51:35 +0100 |
---|---|---|
committer | Louise | 2019-01-22 18:51:35 +0100 |
commit | 3b487016342f967715147473ebf1666d46d5aff2 (patch) | |
tree | 7611f113439af2437d596e3e33c68c62e0f8cce0 | |
parent | 35b2f97f3ec05bab187c0e1bc8796e53be3eadcb (diff) | |
download | aur-3b487016342f967715147473ebf1666d46d5aff2.tar.gz |
Updated to GCC 8.2.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = sh3eb-elf-gcc pkgdesc = The GNU Compiler Collection for the sh3eb-elf target. - pkgver = 8.1.0 + pkgver = 8.2.1+20181127 pkgrel = 1 url = http://gcc.gnu.org arch = i686 @@ -17,8 +17,8 @@ pkgbase = sh3eb-elf-gcc options = zipman options = docs options = !strip - source = ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.1.0/gcc-8.1.0.tar.xz - sha256sums = 1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153 + source = https://sources.archlinux.org/other/gcc/gcc-8.2.1-20181127.tar.xz + sha256sums = 6f64ffda2839e96a8551b767bf4f92be4e7a09377ea40058355b4eeb13bc3800 pkgname = sh3eb-elf-gcc @@ -4,7 +4,7 @@ _target="sh3eb-elf" pkgname=${_target}-gcc -pkgver=8.1.0 +pkgver=8.2.1+20181127 pkgrel=1 pkgdesc="The GNU Compiler Collection for the ${_target} target." arch=(i686 x86_64) @@ -12,18 +12,18 @@ license=('GPL' 'LGPL') url="http://gcc.gnu.org" depends=("${_target}-binutils" 'libmpc' 'elfutils') options=('staticlibs' '!buildflags' '!libtool' '!emptydirs' 'zipman' 'docs' '!strip') -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz) -sha256sums=('1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153') +source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz) +sha256sums=('6f64ffda2839e96a8551b767bf4f92be4e7a09377ea40058355b4eeb13bc3800') prepare() { - cd "${srcdir}/gcc-${pkgver}" + cd "${srcdir}/gcc-${pkgver/+/-}" [[ -d gcc-build ]] && rm -rf gcc-build mkdir gcc-build } build() { - cd "${srcdir}/gcc-${pkgver}" + cd "${srcdir}/gcc-${pkgver/+/-}" export CFLAGS="-O2 -pipe -s -fomit-frame-pointer -ffunction-sections -fdata-sections" export CXXFLAGS=$CFLAGS @@ -63,7 +63,7 @@ build() { } package() { - cd "${srcdir}/gcc-${pkgver}/gcc-build" + cd "${srcdir}/gcc-${pkgver/+/-}/gcc-build" make DESTDIR="${pkgdir}" install-gcc install-target-libgcc |