mirror of
https://github.com/holub/mame
synced 2025-06-09 14:22:41 +03:00
Fix compile on clang 3.7+ on linux (nw)
This commit is contained in:
parent
08c8c26b62
commit
b3a224378d
@ -137,6 +137,15 @@ function qtdebuggerbuild()
|
|||||||
removeflags {
|
removeflags {
|
||||||
"SingleOutputDir",
|
"SingleOutputDir",
|
||||||
}
|
}
|
||||||
|
local version = str_to_version(_OPTIONS["gcc_version"])
|
||||||
|
if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then
|
||||||
|
configuration { "gmake" }
|
||||||
|
if (version >= 30700) then
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-inconsistent-missing-override",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp",
|
MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp",
|
||||||
|
Loading…
Reference in New Issue
Block a user