summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-10-25 15:29:13 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-10-25 15:29:24 -0400
commit67ac7f437f090774f7a3d19b8fad76d56a73772b (patch)
treee7a40c273e4099fa49cb1792df51e7c5817aab9b /scripts
parent0e4e6a5db7c0d7adc83fbaaad2dc841918a7781b (diff)
3rdparty.lua: Another build fix for older OS X versions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/3rdparty.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index 27383c3a8ed..04155ef55a8 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1432,6 +1432,14 @@ end
end
end
+ if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
+ if string.find(_OPTIONS["gcc"], "clang") and (version < 80000) then
+ defines {
+ "TARGET_OS_OSX=1",
+ }
+ end
+ end
+
files {
MAME_DIR .. "3rdparty/bgfx/src/bgfx.cpp",
MAME_DIR .. "3rdparty/bgfx/src/debug_renderdoc.cpp",