[arch-commits] Commit in xf86-video-ati/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 20:47:29 UTC 2020


    Date: Saturday, May 16, 2020 @ 20:47:28
  Author: foutrelis
Revision: 384819

Add -fcommon workaround for GCC 10

Modified:
  xf86-video-ati/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-16 20:47:26 UTC (rev 384818)
+++ PKGBUILD	2020-05-16 20:47:28 UTC (rev 384819)
@@ -21,6 +21,8 @@
 build() {
   cd ${pkgname}-${pkgver}
 
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
   # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
   # With them, module fail to load with undefined symbol.
   # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845



More information about the arch-commits mailing list