summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2021-09-09 12:55:56 +0100
committer smf- <smf-@users.noreply.github.com>2021-09-09 12:55:56 +0100
commit2811cda9c67963f7877cf6fe784ee548bf22a0c1 (patch)
tree8f9c622f01b9511a575438db75f360968dc9a180
parent925f5183a10de850b6331441301a05d3291cf2fa (diff)
fixed vs2019, broken by clang fix.
-rw-r--r--scripts/src/osd/windows.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua
index 9bd9b6cd5f6..2f77844d17a 100644
--- a/scripts/src/osd/windows.lua
+++ b/scripts/src/osd/windows.lua
@@ -119,9 +119,11 @@ project ("osd_" .. _OPTIONS["osd"])
MAME_DIR .. "src/osd/windows",
}
- buildoptions_cpp {
- "-Wno-ignored-attributes",-- many instances in ImGui
- }
+ if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
+ buildoptions_cpp {
+ "-Wno-ignored-attributes",-- many instances in ImGui
+ }
+ end
files {
MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp",