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

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


    Date: Tuesday, July 7, 2020 @ 21:16:32
  Author: foutrelis
Revision: 660282

Add -fcommon workaround for GCC 10

Modified:
  iftop/trunk/PKGBUILD

----------+
 PKGBUILD |    2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:31 UTC (rev 660281)
+++ PKGBUILD	2020-07-07 21:16:32 UTC (rev 660282)
@@ -17,6 +17,8 @@
 build() {
   cd $pkgname-$pkgver
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man
   make
 }


More information about the arch-commits mailing list