summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/3rdparty.lua
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2023-07-24 20:38:18 -0400
committer GitHub <noreply@github.com>2023-07-24 20:38:18 -0400
commitc2a516abd4915ed79771a91a262264e6a689ccdf (patch)
tree84c62ae00454f24a828fa51b28e202e3fc421362 /scripts/src/3rdparty.lua
parentd7551fdb6938afaf3ebe79e2576b3646937cd7d8 (diff)
js_sound.js: fix sound level default for underrunning case (#11317)
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rwxr-xr-xscripts/src/3rdparty.lua8
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",