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

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


    Date: Tuesday, July 7, 2020 @ 21:16:51
  Author: foutrelis
Revision: 660299

Add -fcommon workaround for GCC 10

Modified:
  naev/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:50 UTC (rev 660298)
+++ PKGBUILD	2020-07-07 21:16:51 UTC (rev 660299)
@@ -16,6 +16,8 @@
 build() {
   cd "$srcdir/$pkgname-$pkgname-$pkgver"
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   ./autogen.sh
   ./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata
   make



More information about the arch-commits mailing list