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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:17:09 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:17:08
  Author: foutrelis
Revision: 660316

Add -fcommon workaround for GCC 10

Modified:
  vifm/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:17:07 UTC (rev 660315)
+++ PKGBUILD	2020-07-07 21:17:08 UTC (rev 660316)
@@ -17,6 +17,8 @@
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   ./configure --prefix=/usr --sysconfdir=/etc
   make
 }


More information about the arch-commits mailing list