mame: unbreak musl take 2

This commit is contained in:
jbu 2015-06-06 16:27:03 +02:00
parent 57703a9c08
commit 43626133e4
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mame'
pkgname=mame
version=0162
revision=2
revision=3
wrksrc="mame-${version}s"
homepage="http://mamedev.org"
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 ?)
opts+=" CROSS_BUILD=1 OVERRIDE_CC=${CC} OVERRIDE_CXX=${CXX} OVERRIDE_LD=${CC}"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) opts+=" NON_MEM_TRACKING=1" ;;
esac
make ${opts} ${makejobs}
}
do_install() {