From 3cd7795d55cc550a56eadedf894062c78ed85722 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras <foutrelis@archlinux.org> Date: Tue, 7 Jul 2020 21:16:13 +0000 Subject: [PATCH] Add -fcommon workaround for GCC 10 --- PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/PKGBUILD b/PKGBUILD index 7b77930..223c078 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -22,6 +22,7 @@ sha256sums=('db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b' build() { cd "$srcdir/$pkgname-$pkgver" + CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common CFLAGS+=" -I/usr/include/openssl-1.0" LDFLAGS+=" -L/usr/lib/openssl-1.0" \ ./configure --prefix=/usr --sysconfdir=/etc --enable-cookies --enable-dlgui \ --enable-ssl -- GitLab