mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Emscripten build fixes (nw)
This commit is contained in:
parent
5b1422965d
commit
078d8e099a
4
makefile
4
makefile
@ -327,6 +327,10 @@ endif
|
||||
ifeq ($(TARGETOS),os2)
|
||||
OSD := sdl
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETOS),asmjs)
|
||||
OSD := sdl
|
||||
endif
|
||||
endif
|
||||
|
||||
#-------------------------------------------------
|
||||
|
@ -371,7 +371,7 @@ end
|
||||
defines {
|
||||
"LUA_COMPAT_ALL",
|
||||
}
|
||||
if not (_OPTIONS["targetos"]=="windows") then
|
||||
if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") then
|
||||
defines {
|
||||
"LUA_USE_POSIX",
|
||||
}
|
||||
|
@ -356,7 +356,7 @@ newoption {
|
||||
}
|
||||
|
||||
if not _OPTIONS["NO_USE_MIDI"] then
|
||||
if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "emscripten" or _OPTIONS["targetos"] == "os2" then
|
||||
if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" or _OPTIONS["targetos"] == "os2" then
|
||||
_OPTIONS["NO_USE_MIDI"] = "1"
|
||||
else
|
||||
_OPTIONS["NO_USE_MIDI"] = "0"
|
||||
@ -379,7 +379,7 @@ newoption {
|
||||
|
||||
|
||||
if not _OPTIONS["USE_QTDEBUG"] then
|
||||
if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "emscripten" or _OPTIONS["targetos"] == "os2" then
|
||||
if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" or _OPTIONS["targetos"] == "os2" then
|
||||
_OPTIONS["USE_QTDEBUG"] = "0"
|
||||
else
|
||||
_OPTIONS["USE_QTDEBUG"] = "1"
|
||||
|
Loading…
Reference in New Issue
Block a user