Fix compile on clang 3.7+ on linux (nw)

This commit is contained in:
Miodrag Milanovic 2016-01-08 13:53:57 +01:00
parent 08c8c26b62
commit b3a224378d

View File

@ -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",