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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:17:10 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:17:10
  Author: foutrelis
Revision: 660317

Add -fcommon workaround for GCC 10

Modified:
  wavegain/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:17:08 UTC (rev 660316)
+++ PKGBUILD	2020-07-07 21:17:10 UTC (rev 660317)
@@ -16,6 +16,8 @@
 build() {
   cd "$srcdir/$_realname-$pkgver"
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   #make -f Makefile.linux
   gcc ${LDFLAGS} ${CFLAGS} *.c -o wavegain -DHAVE_CONFIG_H -lm
 



More information about the arch-commits mailing list