summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFelix Uhl2021-03-29 14:53:55 +0200
committerFelix Uhl2021-03-29 14:53:55 +0200
commitfdd4db3365efd261e93fc790fd02015c4300c0ef (patch)
treea48290a251b4060460c73aef80e9b81a386f2b48 /PKGBUILD
parent60ce7c998d1d7ecee4ad16a61f700e06eed74eea (diff)
downloadaur-fdd4db3365efd261e93fc790fd02015c4300c0ef.tar.gz
Fix build for gcc >= 10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef8cf8320a6f..f96a0cb241ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -57,6 +57,9 @@ build() {
# For the time being encrypt support is disabled. To reenable add
# --enable-encrypt below and fix the code.
+ # This is necessary for gcc >= 10
+ CFLAGS="$CFLAGS -fcommon"
+
./configure \
--prefix=/usr \
--sbindir=/usr/bin \