summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorundevdecatos2020-06-10 19:33:36 +0200
committerundevdecatos2020-06-10 19:33:36 +0200
commit39140ae74c10ee873552dc410d4421a8f95b4307 (patch)
tree2acf83a9535f74cb6587849e81435efab615da2c
parenta12f6cf7fba42af01fd6476d4b700de295733582 (diff)
downloadaur-39140ae74c10ee873552dc410d4421a8f95b4307.tar.gz
Add -fcommon workaroud to fix compilation on GCC 10
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c1c2ffe9b083..78ee53d714c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,6 +26,8 @@ sha256sums=('3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112')
build() {
cd "$srcdir/$_pkgname-$pkgver"
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \