ppa update

This commit is contained in:
moparisthebest
2019-07-27 10:40:51 -04:00
parent 326dadd136
commit 4150b9c6b5
70 changed files with 487 additions and 397 deletions

View File

@@ -4,12 +4,12 @@
_targets="i686-w64-mingw32 x86_64-w64-mingw32"
pkgname=mingw-w64-gcc
pkgver=8.3.0
_islver=0.20
pkgrel=2
pkgver=9.1.0
_islver=0.21
pkgrel=3
pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
arch=('x86_64')
url="http://gcc.gnu.org"
url="https://gcc.gnu.org"
license=('GPL' 'LGPL' 'FDL' 'custom')
groups=('mingw-w64-toolchain' 'mingw-w64')
depends=('zlib' 'libmpc'
@@ -23,24 +23,30 @@ backup=()
options=('!strip' 'staticlibs' '!emptydirs' '!buildflags')
#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
"http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2" bz86593.patch)
"http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2"
bz90397.patch
bz90949.patch)
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek <jakub@redhat.com>
sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
sha256sums=('79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0'
'SKIP'
'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2' SKIP)
'd18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859'
'cc20d05bcc6cb35bf0944b391f0b0380af375f2a8a03ce1cd67835884bc41fac'
'c860819e730faf1621e1286ebe3a0179df6e25182b81a9ca0a3db02633982a14')
prepare() {
ln -sf gcc-${pkgver/+/-} gcc
cd gcc
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397
patch -p0 -i "$srcdir/bz90397.patch"
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949
patch -p0 -i "$srcdir/bz90949.patch"
# link isl for in-tree builds
ln -sf ../isl-${_islver} isl
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86593
rm -f gcc/testsuite/g++.dg/pr86593.C
patch -p1 -i "$srcdir/bz86593.patch"
}
build() {
@@ -51,7 +57,8 @@ build() {
--target=${_target} \
--enable-languages=c,lto,c++,objc,obj-c++,fortran,ada \
--enable-shared --enable-static \
--enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes \
--enable-threads=posix --enable-fully-dynamic-string \
--enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes \
--with-system-zlib --enable-cloog-backend=isl \
--enable-lto --disable-dw2-exceptions --enable-libgomp \
--disable-multilib --enable-checking=release