xboard: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:49:14 +02:00
parent 5d59ea09ed
commit 30cca3e5c3
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ homepage="http://www.gnu.org/software/xboard/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
CFLAGS="-fcommon"
post_extract() {
sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
}