vpcs: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
33828b215a
commit
ae25dd61ad
1 changed files with 3 additions and 1 deletions
|
@ -7,13 +7,15 @@ build_style=gnu-makefile
|
||||||
make_cmd="make -f Makefile.linux"
|
make_cmd="make -f Makefile.linux"
|
||||||
short_desc="Virtual PC Simulator"
|
short_desc="Virtual PC Simulator"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="2-clause-BSD"
|
license="BSD-2-Clause"
|
||||||
homepage="https://sourceforge.net/projects/vpcs"
|
homepage="https://sourceforge.net/projects/vpcs"
|
||||||
distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
|
distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
|
||||||
checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
|
checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
|
||||||
|
|
||||||
archs="i686* x86_64*"
|
archs="i686* x86_64*"
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;
|
x86_64*) sed -i "s|i386|amd64|" Makefile.linux;;
|
||||||
|
|
Loading…
Reference in a new issue