MAME: optmization needs way too much ram on 32 bit

Optimization=3 is the default, set it to 1 for 32 bit.
This commit is contained in:
miqlas
2019-07-11 09:34:59 +02:00
committed by GitHub
parent b5d179e440
commit 3d15321a2d

View File

@@ -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 \