summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/xtensa-unknown-elf-gcc/PKGBUILD61
1 files changed, 39 insertions, 22 deletions
diff --git a/libre/xtensa-unknown-elf-gcc/PKGBUILD b/libre/xtensa-unknown-elf-gcc/PKGBUILD
index 4ad9682dd..646012115 100644
--- a/libre/xtensa-unknown-elf-gcc/PKGBUILD
+++ b/libre/xtensa-unknown-elf-gcc/PKGBUILD
@@ -1,35 +1,39 @@
# Maintainer (Arch): Allan McRae <allan@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Maintainer: Márcio Silva <coadde@parabola.nu>
+# Maintainer: Luke R. <g4jc@openmailbox.org>
pkgname=xtensa-unknown-elf-gcc
-pkgver=6.2.1
-_pkgverpatch=$pkgver
+pkgver=6.3.1
+gccver=6.3.0
+_pkgverpatch=6.2.1
_pkgver=6
-_islver=0.16.1
-pkgrel=1
+_islver=0.16
+pkgrel=1.90
_commit=c2103c17
pkgdesc="The GNU Compiler Collection"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL' 'LGPL' 'FDL' 'custom')
url="http://gcc.gnu.org"
-makedepends=('binutils>=2.26' 'libmpc' 'doxygen' 'git')
+makedepends=('binutils>=2.27' 'libmpc' 'doxygen' 'git')
checkdepends=('dejagnu' 'inetutils')
options=('!emptydirs')
-source=(git://gcc.gnu.org/git/gcc.git#commit=${_commit}
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$gccver/gcc-$gccver.tar.bz2{,.sig}
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
https://repo.parabola.nu/other/gcc/$_pkgverpatch/gcc-xtensa.patch)
-md5sums=('SKIP'
- 'ac1f25a0677912952718a51f5bc20f32'
- '5e0f13db1555fd3f70da9642ab180386')
+validpgpkeys=('33C235A34C46AA3FFB293709A328C3A2C3C45C06') # Jakub Jelinek <jakub@redhat.com> # Note: (Weak DSA) :(
+sha512sums=('234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78'
+ 'SKIP'
+ '680da559a37e377c494d9688577159c5c6552c38bf60986c982df8144f3ef60785d530f7223a553c8446bac0c05fd52398e946b1419fbcf511e06316a8fd2d18'
+ '7637408259cef4b14a2f41690bbc769ad0dc6cf4d1c782405526aeb58f68193269af6882b23fb57c3521174e45709ed2d54f0af1f835646e70a3bfd9f626aad9')
# gcc-6.0 forces a changed triplet - need to address in pacman/devtools
[[ $CARCH == "x86_64" ]] && CHOST=x86_64-pc-linux-gnu
-_libdir="usr/lib/gcc/xtensa-unknown-elf/$pkgver"
+_libdir="usr/lib/gcc/xtensa-unknown-elf/$gccver"
prepare() {
- cd ${srcdir}/gcc
+ cd ${srcdir}/gcc-$gccver
# link isl for in-tree build
ln -s ../isl-${_islver} isl
@@ -57,20 +61,33 @@ build() {
CFLAGS=${CFLAGS/-pipe/}
CXXFLAGS=${CXXFLAGS/-pipe/}
- ${srcdir}/gcc/configure --prefix=/usr \
- --libdir=/usr/lib --libexecdir=/usr/lib \
+ ${srcdir}/gcc-$gccver/configure --prefix=/usr \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
--mandir=/usr/share/man \
--with-bugurl=https://labs.parabola.nu/ \
--enable-languages=c,c++,lto \
- --enable-shared --enable-threads=posix --enable-libmpx \
- --with-system-zlib --with-isl --enable-__cxa_atexit \
- --disable-libunwind-exceptions --enable-clocale=gnu \
- --disable-libstdcxx-pch --disable-libssp \
- --enable-gnu-unique-object --enable-linker-build-id \
- --enable-lto --enable-plugin --enable-install-libiberty \
- --with-linker-hash-style=gnu --enable-gnu-indirect-function \
- --disable-multilib --disable-werror \
- --enable-checking=release --disable-nls \
+ --enable-shared \
+ --enable-threads=posix \
+ --enable-libmpx \
+ --with-system-zlib \
+ --with-isl \
+ --enable-__cxa_atexit \
+ --disable-libunwind-exceptions \
+ --enable-clocale=gnu \
+ --disable-libstdcxx-pch \
+ --disable-libssp \
+ --enable-gnu-unique-object \
+ --enable-linker-build-id \
+ --enable-lto \
+ --enable-plugin \
+ --enable-install-libiberty \
+ --with-linker-hash-style=gnu \
+ --enable-gnu-indirect-function \
+ --disable-multilib \
+ --disable-werror \
+ --enable-checking=release \
+ --disable-nls \
--target=xtensa-unknown-elf
make all-gcc
}