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

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


    Date: Tuesday, July 7, 2020 @ 21:16:20
  Author: foutrelis
Revision: 660271

Add -fcommon workaround for GCC 10

Modified:
  galculator/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:19 UTC (rev 660270)
+++ PKGBUILD	2020-07-07 21:16:20 UTC (rev 660271)
@@ -18,6 +18,7 @@
 sha256sums=('01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae')
 
 build() {
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   # GTK3 version
   cd "${srcdir}/${pkgbase}-${pkgver}"
   [ -d gtk3 ] || mkdir gtk3



More information about the arch-commits mailing list