From d673c28f9c5413cbbcbdffde370a0adb45268050 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Tue, 18 Aug 2020 02:49:16 +0200
Subject: [PATCH] xf86-video-ati: needs -fcommon for gcc10

[ci skip]
---
 srcpkgs/xf86-video-ati/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template
index 10be3ba0ac..fe251dff4b 100644
--- a/srcpkgs/xf86-video-ati/template
+++ b/srcpkgs/xf86-video-ati/template
@@ -15,6 +15,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
 checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49
 
 lib32disabled=yes
+CFLAGS="-fcommon"
 LDFLAGS="-Wl,-z,lazy"
 
 case "$XBPS_TARGET_MACHINE" in