From 3d15321a2dcf65d6b7f2a7d13939909e99a3a878 Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Thu, 11 Jul 2019 09:34:59 +0200 Subject: [PATCH] MAME: optmization needs way too much ram on 32 bit Optimization=3 is the default, set it to 1 for 32 bit. --- games-emulation/mame/mame-0.210.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games-emulation/mame/mame-0.210.recipe b/games-emulation/mame/mame-0.210.recipe index be8c74dbb12..c55a8a7a1cd 100644 --- a/games-emulation/mame/mame-0.210.recipe +++ b/games-emulation/mame/mame-0.210.recipe @@ -28,6 +28,7 @@ ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" bits=64 +optimize=3 makejobs=$jobArgs commandBinDir=$binDir commandSuffix=$secondaryArchSuffix @@ -36,6 +37,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then commandBinDir=$prefix/bin commandSuffix= makejobs=1 + optimize=1 fi PROVIDES=" @@ -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 \