Skip to content

Commit 30853a2

Browse files
authored
Merge pull request #3883 from cmitu/mame-update2
mame: fix building latest version with old 'libzstd'
2 parents 1d25e8b + 636a178 commit 30853a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scriptmodules/emulators/mame.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function depends_mame() {
2929

3030
# Install required libraries required for compilation and running
3131
# Note: libxi-dev is required as of v0.210, because of flag changes for XInput
32-
local depends=(libfontconfig1-dev libsdl2-ttf-dev libflac-dev libxinerama-dev libxi-dev libpulse-dev libzstd-dev)
32+
local depends=(libfontconfig1-dev libsdl2-ttf-dev libflac-dev libxinerama-dev libxi-dev libpulse-dev)
3333
# build the MAME debugger only on X11 (desktop) platforms
3434
isPlatform "x11" && depends+=(qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools)
3535

@@ -50,7 +50,7 @@ function build_mame() {
5050
rpSwap on 8192
5151
fi
5252

53-
local params=(NOWERROR=1 ARCHOPTS=-U_FORTIFY_SOURCE PYTHON_EXECUTABLE=python3 OPTIMIZE=2 USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_ZSTD=1)
53+
local params=(NOWERROR=1 ARCHOPTS=-U_FORTIFY_SOURCE PYTHON_EXECUTABLE=python3 OPTIMIZE=2 USE_SYSTEM_LIB_FLAC=1)
5454
isPlatform "x11" && params+=(USE_QTDEBUG=1) || params+=(USE_QTDEBUG=0)
5555
# when building on ARM enable 'fsigned-char' for compiled code, fixes crashes in a few drivers
5656
isPlatform "arm" || isPlatform "aarch64" && params+=(ARCHOPTS_CXX=-fsigned-char)

0 commit comments

Comments
 (0)