diff options
| author | 2015-11-02 11:13:12 +0100 | |
|---|---|---|
| committer | 2015-11-02 11:13:12 +0100 | |
| commit | c050685c988141a50f55b5c7890683d1f288f4a9 (patch) | |
| tree | 5e5ab6f3639a3f86aa2f4532260a5b6781be4928 /scripts/src/3rdparty.lua | |
| parent | b01384ee7330c30dadb93930d7fd49aaac329e3c (diff) | |
Fixed mingw clang build (nw)
Diffstat (limited to 'scripts/src/3rdparty.lua')
| -rw-r--r-- | scripts/src/3rdparty.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index bbe07a80b9a..2e029d1c050 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -613,6 +613,16 @@ project "bgfx" configuration { } + if _OPTIONS["targetos"]=="windows" then + local version = str_to_version(_OPTIONS["gcc_version"]) + if string.find(_OPTIONS["gcc"], "clang") then + buildoptions { + "-Wno-unknown-attributes", + "-Wno-missing-braces", + } + end + end + defines { "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", |
