From 741d11e7a4712fdd297c79007d72270a217da11f Mon Sep 17 00:00:00 2001 From: junjie020 Date: Thu, 24 Oct 2019 11:34:08 +0800 Subject: [PATCH] macOS build need platform version, same as xcode build --- scripts/toolchain.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 18eeb91..e9b336e 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -1037,6 +1037,7 @@ function toolchain(_buildDir, _libDir) "-msse2", "-Wunused-value", "-Wundef", + "-target x86_64-apple-macos" .. (#macosPlatform > 0 and macosPlatform or "10.11"), } includedirs { path.join(bxDir, "include/compat/osx") }