diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-22 22:19:11 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-22 22:19:11 -0300 |
commit | 209480924914d7b83e690722cf7566246dd35a6a (patch) | |
tree | 56c940dfe9ff1f8f79803a4e9c2ec8ec3cc31047 /cross/cross-gcc/PKGBUILD | |
parent | 38b7246fb927c5f3275ed5ae09417ca6a0d3c35d (diff) | |
parent | 83beece65086aa69e8444aaff7b832cf6bb9d3da (diff) | |
download | abslibre-209480924914d7b83e690722cf7566246dd35a6a.tar.gz abslibre-209480924914d7b83e690722cf7566246dd35a6a.tar.bz2 abslibre-209480924914d7b83e690722cf7566246dd35a6a.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'cross/cross-gcc/PKGBUILD')
-rw-r--r-- | cross/cross-gcc/PKGBUILD | 33 |
1 files changed, 16 insertions, 17 deletions
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 |