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

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


    Date: Tuesday, July 7, 2020 @ 21:16:22
  Author: foutrelis
Revision: 660273

Add -fcommon workaround for GCC 10

Modified:
  gerbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:21 UTC (rev 660272)
+++ PKGBUILD	2020-07-07 21:16:22 UTC (rev 660273)
@@ -21,6 +21,7 @@
 build ()
 {
   cd "$srcdir/$pkgname-$pkgver"
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./autogen.sh
   sed -i 's|am_aux_dir=`cd $ac_aux_dir|am_aux_dir=`cd $srcdir|' configure
   ./configure --prefix=/usr \



More information about the arch-commits mailing list