core/gcc to 12.2.1-1

This commit is contained in:
Kevin Mihelich 2023-01-18 00:29:31 +00:00
parent 58e52b9200
commit be33cc4193

View file

@ -18,9 +18,9 @@
noautobuild=1
pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go gcc-d lto-dump libgccjit)
pkgver=12.2.0
pkgver=12.2.1
_majorver=${pkgver%%.*}
_commit=2ee5e4300186a92ad73f1a1a64cb918dc76c8d67
_commit=eec3a65ed638a1c58fa08ddf508d2d60b64d311d
pkgrel=1
pkgdesc='The GNU Compiler Collection'
arch=(x86_64)
@ -46,10 +46,8 @@ checkdepends=(
python-pytest
tcl
)
options=(!emptydirs !lto debug !distcc)
options=(!emptydirs !lto !distcc)
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35
# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
source=(git+https://sourceware.org/git/gcc.git#commit=${_commit}
c89 c99
gcc-ada-repro.patch
@ -229,7 +227,7 @@ package_gcc() {
pkgdesc="The GNU Compiler Collection - C and C++ frontends"
depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc zstd libisl.so)
groups=('base-devel')
options=(!emptydirs staticlibs debug)
options=(!emptydirs staticlibs)
cd gcc-build
@ -357,7 +355,7 @@ package_gcc-d() {
depends=("gcc=$pkgver-$pkgrel" libisl.so)
provides=(gdc)
replaces=(gdc)
options=(staticlibs debug)
options=(staticlibs)
cd gcc-build
make -C gcc DESTDIR="$pkgdir" d.install-{common,man,info}