summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann2020-09-18 11:00:04 +0200
committerAndreas Baumann2020-09-18 11:00:04 +0200
commit5a56a33543d75d3073ddc44e395b235d5b271e0b (patch)
treeadc88b62350328ee810ecf36b12fbc97e8f5383c /PKGBUILD
parent5893984807248b87a7b8686828012dc767e8ca93 (diff)
downloadaur-pcc-cvs.tar.gz
added -fcommon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 78ae35fcd988..ab91c690fb85 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,6 +40,8 @@ build() {
cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
cd "$srcdir/$_cvsmod-build"
+ export CFLAGS+=" -fcommon "
+
./configure --prefix=/usr --libexecdir=/usr/lib/pcc || return 1
make CC=gcc || return 1