summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-06-12 18:22:15 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-06-12 18:22:15 -0400
commit18f663e49b698f67507d1c7b61936de146100916 (patch)
tree65e947cb9d941aefff39e2bd874255b773527314
parent6552e04c0666a36d88d99de600c2ee0b47659382 (diff)
Fix OS X build with Xcode 7 (nw)
-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 941a2988bf2..41909b6c271 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -2238,6 +2238,14 @@ project "asmjit"
configuration { }
+ 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/asmjit/src/asmjit/asmjit.h",
MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h",