diff options
author | 2019-10-13 19:56:15 +0100 | |
---|---|---|
committer | 2019-10-13 19:56:41 +0100 | |
commit | cd6b9ac9beb76e640f39227555ad6907a36d38f9 (patch) | |
tree | 36d50b2eeedd4b5245f0051ab7ca2e8b3581a16a | |
parent | c910371408ad84b0812869a4dd2fd0e1b09f7934 (diff) |
fix for clang 9.0.0 on windows (nw)
-rw-r--r-- | scripts/genie.lua | 1 | ||||
-rw-r--r-- | scripts/src/3rdparty.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 94ddbffe257..827d27709c0 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -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 { } diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 196c5c5688d..c80075bf9f1 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -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", |