[arch-commits] Commit in sharutils/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 20:47:13 UTC 2020


    Date: Saturday, May 16, 2020 @ 20:47:12
  Author: foutrelis
Revision: 384814

Add -fcommon workaround for GCC 10

Modified:
  sharutils/trunk/PKGBUILD

----------+
 PKGBUILD |    1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-16 20:47:09 UTC (rev 384813)
+++ PKGBUILD	2020-05-16 20:47:12 UTC (rev 384814)
@@ -22,6 +22,7 @@
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
+	CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
 	./configure \
 		--prefix=/usr \
 		--mandir=/usr/share/man \


More information about the arch-commits mailing list