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

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


    Date: Saturday, May 16, 2020 @ 20:47:06
  Author: foutrelis
Revision: 384812

Add -fcommon workaround for GCC 10

Modified:
  ocl-icd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-16 20:47:04 UTC (rev 384811)
+++ PKGBUILD	2020-05-16 20:47:06 UTC (rev 384812)
@@ -25,6 +25,7 @@
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./configure --prefix=/usr
   make
 }


More information about the arch-commits mailing list