diff options
author | João Figueiredo | 2021-09-17 18:34:31 +0100 |
---|---|---|
committer | João Figueiredo | 2021-09-17 18:34:31 +0100 |
commit | cbd092b5a48efacabc652421feeff3b3e0d42428 (patch) | |
tree | 753c67a6149469566c32385020e016d0a8f155c8 | |
parent | 28b94a32e487ad91f1cb3d4bd5daa5b0947d336b (diff) | |
download | aur-cbd092b5a48efacabc652421feeff3b3e0d42428.tar.gz |
Here, have some flags :)
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 13 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = gcc-git pkgdesc = The GNU Compiler Collection - pkgver = 12.0.0_r187762.g2484f7a4b0f + pkgver = 12.0.0_r188038.g31e924c52f4 pkgrel = 2 url = https://gcc.gnu.org arch = x86_64 @@ -45,7 +45,7 @@ pkgbase = gcc-git pkgname = gcc-git pkgdesc = The GNU Compiler Collection - C and C++ frontends groups = base-devel-git - depends = gcc-libs-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-libs-git=12.0.0_r188038.g31e924c52f4-2 depends = binutils>=2.28 depends = libmpc optdepends = lib32-gcc-libs-git: for generating code for 32-bit ABI @@ -60,7 +60,7 @@ pkgname = gcc-git pkgname = gcc-libs-git pkgdesc = Runtime libraries shipped by GCC depends = glibc - provides = gcc-libs=12.0.0_r187762.g2484f7a4b0f-2 + provides = gcc-libs=12.0.0_r188038.g31e924c52f4-2 provides = gcc-multilib provides = gcc-multilib-git provides = libgo.so @@ -77,7 +77,7 @@ pkgname = gcc-libs-git pkgname = gcc-fortran-git pkgdesc = Fortran front-end for GCC - depends = gcc-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-git=12.0.0_r188038.g31e924c52f4-2 provides = gcc-fortran provides = gcc-multilib provides = gcc-multilib-git @@ -86,7 +86,7 @@ pkgname = gcc-fortran-git pkgname = gcc-objc-git pkgdesc = Objective-C front-end for GCC - depends = gcc-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-git=12.0.0_r188038.g31e924c52f4-2 provides = gcc-multilib provides = gcc-multilib-git conflicts = gcc-objc @@ -94,7 +94,7 @@ pkgname = gcc-objc-git pkgname = gcc-ada-git pkgdesc = Ada front-end for GCC (GNAT) - depends = gcc-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-git=12.0.0_r188038.g31e924c52f4-2 provides = gcc-ada provides = gcc-multilib provides = gcc-multilib-git @@ -105,7 +105,7 @@ pkgname = gcc-ada-git pkgname = gcc-go-git pkgdesc = Go front-end for GCC - depends = gcc-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-git=12.0.0_r188038.g31e924c52f4-2 provides = go=1.12.2 provides = gcc-multilib provides = gcc-multilib-git @@ -116,7 +116,7 @@ pkgname = gcc-go-git pkgname = gcc-d-git pkgdesc = D frontend for GCC - depends = gcc-git=12.0.0_r187762.g2484f7a4b0f-2 + depends = gcc-git=12.0.0_r188038.g31e924c52f4-2 provides = gcc-d provides = gdc provides = gdc-git @@ -8,7 +8,7 @@ pkgbase=gcc-git pkgname=({gcc,gcc-libs,gcc-fortran,gcc-objc,gcc-ada,gcc-go,gcc-d}-git) -pkgver=12.0.0_r187762.g2484f7a4b0f +pkgver=12.0.0_r188038.g31e924c52f4 _majorver=${pkgver%%.*} _isl=$(curl -s "http://isl.gforge.inria.fr/?C=M;O=A" | grep "isl-.*tar\.xz" | tail -1 | sed -e 's/.*href="//' -e 's/">isl.*//') pkgrel=2 @@ -84,6 +84,10 @@ build() { # See https://aur.archlinux.org/pkgbase/gcc-git/#comment-822240 CXXFLAGS=${CXXFLAGS/-Werror=format-security} + # avoid warning _FORTIFY_SOURCE requires compiling with optimization (-O) + CPPFLAGS+=" -O2" + CPPFLAGS=${CPPFLAGS/-Werror=format-security} + "$srcdir/gcc/configure" --prefix=/usr \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ |