Date: Tuesday, July 7, 2020 @ 21:16:11
  Author: foutrelis
Revision: 660262

Add -fcommon workaround for GCC 10

Modified:
  catimg/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-07-07 21:16:10 UTC (rev 660261)
+++ PKGBUILD    2020-07-07 21:16:11 UTC (rev 660262)
@@ -16,6 +16,7 @@
 
 build() {
        cd $pkgname-$pkgver
+  CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
        make
 }

Reply via email to