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

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 20:46:53 UTC 2020


    Date: Saturday, May 16, 2020 @ 20:46:52
  Author: foutrelis
Revision: 384805

Add -fcommon workaround for GCC 10

Modified:
  gdome2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-16 20:46:51 UTC (rev 384804)
+++ PKGBUILD	2020-05-16 20:46:52 UTC (rev 384805)
@@ -26,6 +26,7 @@
 
 build() {
   cd ${pkgname}-${pkgver}
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./configure --prefix=/usr --mandir=/usr/share/man
 
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool



More information about the arch-commits mailing list