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

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


    Date: Tuesday, July 7, 2020 @ 21:16:36
  Author: foutrelis
Revision: 660286

Add -fcommon workaround for GCC 10

Modified:
  john/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:35 UTC (rev 660285)
+++ PKGBUILD	2020-07-07 21:16:36 UTC (rev 660286)
@@ -40,6 +40,8 @@
 build() {
   cd ${pkgname}-${_johnver}-jumbo-${_jumbover}/src
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   local CFLAGS="${CFLAGS} -DCPU_FALLBACK"
   local options=(
     --prefix=/usr



More information about the arch-commits mailing list