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