memtester: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
3ea26d44f5
commit
ae67fa158e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue