memtester: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:34 +02:00
parent 3ea26d44f5
commit ae67fa158e

View file

@ -11,6 +11,8 @@ changelog="http://pyropus.ca/software/memtester/CHANGELOG"
distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
CFLAGS="-fcommon"
pre_build() {
sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld