fix for clang 9.0.0 on windows (nw)

This commit is contained in:
smf- 2019-10-13 19:56:15 +01:00
parent c910371408
commit cd6b9ac9be
2 changed files with 2 additions and 1 deletions

View File

@ -910,6 +910,7 @@ end
configuration { "mingw-clang" }
buildoptions {
"-Xclang -flto-visibility-public-std", -- workround for __imp___ link errors
"-Wno-nonportable-include-path", -- workround for clang 9.0.0 case sensitivity bug when including GL/glext.h
}
configuration { }

View File

@ -1206,7 +1206,7 @@ project "bimg"
configuration { }
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" then
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" then
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
buildoptions_cpp {
"-Wno-unused-const-variable",