fix VS build (nw)

This commit is contained in:
Miodrag Milanovic 2015-11-04 14:16:42 +01:00
parent ecdc99b0e6
commit 056fdc89c5

View File

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