mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
fix VS build (nw)
This commit is contained in:
parent
ecdc99b0e6
commit
056fdc89c5
@ -118,7 +118,7 @@ project "softfloat"
|
|||||||
"-Wno-sign-compare",
|
"-Wno-sign-compare",
|
||||||
}
|
}
|
||||||
|
|
||||||
if string.find(_OPTIONS["gcc"], "clang") then
|
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-Wno-tautological-compare",
|
"-Wno-tautological-compare",
|
||||||
}
|
}
|
||||||
@ -258,7 +258,7 @@ project "flac"
|
|||||||
"-Wno-unused-function",
|
"-Wno-unused-function",
|
||||||
"-O0",
|
"-O0",
|
||||||
}
|
}
|
||||||
if string.find(_OPTIONS["gcc"], "clang") then
|
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-Wno-enum-conversion",
|
"-Wno-enum-conversion",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user