From 7cee998532a32b5eb39deb4a6059ecd8fc295f17 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Mon, 22 Sep 2014 18:59:58 -0300 Subject: update cross-gcc --- cross/cross-gcc/PKGBUILD | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'cross/cross-gcc/PKGBUILD') diff --git a/cross/cross-gcc/PKGBUILD b/cross/cross-gcc/PKGBUILD index 4afa3aab4..57e559e33 100644 --- a/cross/cross-gcc/PKGBUILD +++ b/cross/cross-gcc/PKGBUILD @@ -126,11 +126,10 @@ fi _pkgname=gcc pkgname=$_target-$_pkgname makedepends=('binutils>=2.24' 'libmpc' 'cloog' 'doxygen') -_gccver=4.9.1 -pkgver=4.8.2 -_pkgver=4.8 -pkgrel=10 -_snapshot=4.8-20140306 +pkgver=4.9.1 +_pkgver=4.9 +pkgrel=2 +_snapshot=4.9-20140903 pkgdesc="The GNU Compiler Collection" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL' 'custom') @@ -140,12 +139,12 @@ options=('!emptydirs') source=(#ftp://$_pkgname.gnu.org/pub/$_pkgname/releases/$_pkgname-${pkgver}/$_pkgname-${pkgver}.tar.bz2 ftp://$_pkgname.gnu.org/pub/$_pkgname/snapshots/${_snapshot}/$_pkgname-${_snapshot}.tar.bz2 $_pkgname-4.8-filename-output.patch - $_pkgname-4.8-lambda-ICE.patch + $_pkgname-4.9-isl-0.13-hack.patch $_pkgname-xtensa.patch mips-kfreebsd-gnu.patch) -md5sums=('21b4594573d5141afd2109b11037eb2c' +md5sums=('24dfd67139fda4746d2deff18182611d' '40cb437805e2f7a006aa0d0c3098ab0f' - '6eb6e080dbf7bc6825f53a0aaa6c4ef9' + 'f26ae06b9cbc8abe86f5ee4dc5737da8' '81372ee980289a9f6df01dad31c64a63' '43282cddb2080b1180f7b76d3a8a832c') @@ -173,13 +172,10 @@ prepare() { # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653 patch -p0 -i ${srcdir}/$_pkgname-4.8-filename-output.patch - - # http://gcc.gnu.org/bugzilla//show_bug.cgi?id=56710 - commit 3d1f8279 - patch -p1 -i ${srcdir}/$_pkgname-4.8-lambda-ICE.patch - # installing libiberty headers is broken - # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780#c6 - sed -i 's#@target_header_dir@#libiberty#' libiberty/Makefile.in + # isl-0.13 support - mostly header includes and a function rename + # (which does not seem right but causes no testsuite failures...) + patch -p1 -i ${srcdir}/$_pkgname-4.9-isl-0.13-hack.patch # open-ath9k-htc-firmware patch on xtensa-unknown-elf [[ $_target == xtensa-unknown-elf ]] && patch -p1 -i ${srcdir}/$_pkgname-xtensa.patch @@ -209,7 +205,8 @@ build() { --disable-libunwind-exceptions --enable-clocale=gnu \ --disable-libstdcxx-pch --disable-libssp \ --enable-gnu-unique-object --enable-linker-build-id \ - --enable-cloog-backend=isl --disable-cloog-version-check \ + --enable-cloog-backend=isl \ + --disable-isl-version-check --disable-cloog-version-check \ --enable-lto --enable-plugin --enable-install-libiberty \ --with-linker-hash-style=gnu \ --disable-multilib --disable-werror \ @@ -221,7 +218,7 @@ package() { pkgdesc="The GNU Compiler Collection - C and C++ frontends" depends=("$_target-binutils>=2.24" 'libmpc' 'cloog') groups=('cross-devel') - provides=("$_pkgname=$_gccver") + provides=("$_pkgname=$pkgver-$pkgrel") conflicts=("$_pkgname" "$_pkgname-ada" "$_pkgname-fortran" "$_pkgname-go" "$_pkgname-objc") install=$_pkgname.install @@ -238,13 +235,15 @@ package() { make -C lto-plugin DESTDIR=${pkgdir} install make -C libiberty DESTDIR=${pkgdir} install + # install PIC version of libiberty + install -m644 ${srcdir}/$_pkgname-build/libiberty/pic/libiberty.a ${pkgdir}/usr/lib make -C $_pkgname DESTDIR=${pkgdir} install-man install-info make -C libcpp DESTDIR=${pkgdir} install make -C $_pkgname DESTDIR=${pkgdir} install-po - # many packages expect this symlinks + # many packages expect this symlink ln -s $_pkgname ${pkgdir}/usr/bin/cc # POSIX conformance launcher scripts for c89 and c99 -- cgit v1.2.3