diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/src/3rdparty.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 6731f6c8a10..e7a7010acb1 100755 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1180,6 +1180,14 @@ project "bx" configuration { } + if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then + if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then + buildoptions_cpp { + "-Wno-unused-private-field", + } + end + end + includedirs { MAME_DIR .. "3rdparty/bx/include", MAME_DIR .. "3rdparty/bx/3rdparty", |
