We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12dc9ad + 204b9eb commit b87442eCopy full SHA for b87442e
scriptmodules/emulators/mame.sh
@@ -49,7 +49,14 @@ function build_mame() {
49
local params=(NOWERROR=1 ARCHOPTS=-U_FORTIFY_SOURCE PYTHON_EXECUTABLE=python3)
50
# when building on ARM enable 'fsigned-char' for compiled code, fixes crashes in a few drivers
51
isPlatform "arm" || isPlatform "aarch64" && params+=(ARCHOPTS_CXX=-fsigned-char)
52
- QT_SELECT=5 make "${params[@]}"
+
53
+ # workaround for linker crash on bullseye (use gold linker)
54
+ if [[ "$__os_debian_ver" -eq 11 ]] && isPlatform "arm"; then
55
+ QT_SELECT=5 LDFLAGS+=" -fuse-ld=gold -Wl,--long-plt" make "${params[@]}"
56
+ else
57
+ QT_SELECT=5 make "${params[@]}"
58
+ fi
59
60
strip mame
61
62
rpSwap off
0 commit comments