mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
mame: unbreak musl take 2
This commit is contained in:
parent
57703a9c08
commit
43626133e4
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
pkgname=mame
|
pkgname=mame
|
||||||
version=0162
|
version=0162
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="mame-${version}s"
|
wrksrc="mame-${version}s"
|
||||||
homepage="http://mamedev.org"
|
homepage="http://mamedev.org"
|
||||||
distfiles="https://github.com/mamedev/$pkgname/releases/download/${pkgname}${version}/${pkgname}${version}s.zip"
|
distfiles="https://github.com/mamedev/$pkgname/releases/download/${pkgname}${version}/${pkgname}${version}s.zip"
|
||||||
|
@ -31,6 +31,9 @@ do_build() {
|
||||||
# Doesn't work yet because of qt (which can't be cross compiled ?)
|
# Doesn't work yet because of qt (which can't be cross compiled ?)
|
||||||
opts+=" CROSS_BUILD=1 OVERRIDE_CC=${CC} OVERRIDE_CXX=${CXX} OVERRIDE_LD=${CC}"
|
opts+=" CROSS_BUILD=1 OVERRIDE_CC=${CC} OVERRIDE_CXX=${CXX} OVERRIDE_LD=${CC}"
|
||||||
fi
|
fi
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) opts+=" NON_MEM_TRACKING=1" ;;
|
||||||
|
esac
|
||||||
make ${opts} ${makejobs}
|
make ${opts} ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue