mame: nodebug=yes to reduce memory utilization

Closes: #3934

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-10-19 12:00:50 +02:00
parent d85498a98d
commit 0f7d2fc261
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -16,16 +16,10 @@ makedepends="SDL2_ttf-devel glm libjpeg-turbo-devel libutf8proc-devel
$(vopt_if qt 'qt5-devel')"
depends="liberation-fonts-ttf"
nocross=yes
nodebug=yes
replaces="sdlmame>=0 sdlmess>=0"
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3 -I${XBPS_CROSS_BASE}/usr/include/libutf8proc"
case "$XBPS_TARGET_MACHINE" in
i686*) # Can no longer build separate arcade and mess targets for i686
# If the builder can't handle linking for i686 due to memory
# constraints, mame will be broken for i686 from now on
nodebug=yes
;;
esac
case "$XBPS_TARGET_MACHINE" in
*-musl) CXXFLAGS+=" -DBX_CRT_MUSL=1" ;;
esac