prboom-plus: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:40 +02:00
parent 392af21ad2
commit 7921942b8e

View file

@ -14,6 +14,8 @@ homepage="http://prboom-plus.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94
CFLAGS="-fcommon"
pre_configure() {
sed -i 's|^gamesdir = $(prefix)/games|gamesdir = ${bindir}|g' src/Makefile.in
sed -i 's|@PACKAGE@-@VERSION@|prboom-plus|g' Makefile.in