mirror of
https://github.com/holub/mame
synced 2025-06-06 04:43:45 +03:00
Fix bimg build for asmjs (nw)
This commit is contained in:
parent
c24d44ec62
commit
4d3a474283
@ -1209,8 +1209,8 @@ project "bimg"
|
|||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" then
|
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then
|
||||||
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
|
if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then
|
||||||
buildoptions_cpp {
|
buildoptions_cpp {
|
||||||
"-Wno-unused-const-variable",
|
"-Wno-unused-const-variable",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user