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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:16:56 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:16:56
  Author: foutrelis
Revision: 660303

Add -fcommon workaround for GCC 10

Modified:
  pinfo/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:54 UTC (rev 660302)
+++ PKGBUILD	2020-07-07 21:16:56 UTC (rev 660303)
@@ -17,6 +17,7 @@
 
 build() {
   cd "$srcdir"/$pkgname-$pkgver
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   unset LDFLAGS
   [ -x configure ] || ./autogen.sh
   sed -i 's|nogroup|nobody|' src/pinforc.in src/utils.c



More information about the arch-commits mailing list