summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/load_macosx.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-19 00:48:33 +0800
committerruki <[email protected]>2020-06-18 22:51:19 +0800
commit92dd2db73694ab13671db73194ab1e9fae1b9371 (patch)
tree1d4ae3f3c82999f6d67043a882d68286e8ea94b4 /xmake/toolchains/xcode/load_macosx.lua
parent53df324acd9c7432336a5894ceef578daa1ce38d (diff)
improve the plat/arch of toolchain
Diffstat (limited to 'xmake/toolchains/xcode/load_macosx.lua')
-rw-r--r--xmake/toolchains/xcode/load_macosx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/xcode/load_macosx.lua b/xmake/toolchains/xcode/load_macosx.lua
index de7dddb1e..f2060ad68 100644
--- a/xmake/toolchains/xcode/load_macosx.lua
+++ b/xmake/toolchains/xcode/load_macosx.lua
@@ -25,7 +25,7 @@ import("core.project.config")
function main(toolchain)
-- init flags for architecture
- local arch = config.get("arch") or os.arch()
+ local arch = toolchain:arch()
local target_minver = config.get("target_minver")
-- init flags for the xcode sdk directory