From 18f663e49b698f67507d1c7b61936de146100916 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 12 Jun 2020 18:22:15 -0400 Subject: Fix OS X build with Xcode 7 (nw) --- scripts/src/3rdparty.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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", -- cgit v1.2.3