Skip to content

Commit

Permalink
MAME: optmization needs way too much ram on 32 bit
Browse files Browse the repository at this point in the history
Optimization=3 is the default, set it to 1 for 32 bit.
  • Loading branch information
extrowerk committed Jul 11, 2019
1 parent b5d179e commit 3d15321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions games-emulation/mame/mame-0.210.recipe
Expand Up @@ -28,6 +28,7 @@ ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

bits=64
optimize=3
makejobs=$jobArgs
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
Expand All @@ -36,6 +37,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
commandBinDir=$prefix/bin
commandSuffix=
makejobs=1
optimize=1
fi

PROVIDES="
Expand Down Expand Up @@ -145,6 +147,7 @@ BUILD()
TOOLS=1 \
PRECOMPILE=0 \
NOWERROR=1 \
OPTIMIZE=$optimize \
USE_SYSTEM_LIB_EXPAT=1 \
USE_SYSTEM_LIB_ZLIB=1 \
USE_SYSTEM_LIB_JPEG=1 \
Expand Down

0 comments on commit 3d15321

Please sign in to comment.