summaryrefslogtreecommitdiff
path: root/xmake/toolchains
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-27 00:51:56 +0800
committerruki <[email protected]>2021-01-27 00:51:56 +0800
commit0ba673bb80583c8aab3a94deaa9973b903473422 (patch)
treed2489ba3cab891d02a46428397f4a3f0f97893ad /xmake/toolchains
parent56e16607418f6649b1789e7ef9421975a9132a13 (diff)
improve zig
Diffstat (limited to 'xmake/toolchains')
-rw-r--r--xmake/toolchains/zig/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua
index 94a21518a..00e5d4ca8 100644
--- a/xmake/toolchains/zig/xmake.lua
+++ b/xmake/toolchains/zig/xmake.lua
@@ -31,8 +31,7 @@ toolchain("zig")
-- init march
local march
if toolchain:is_plat("macosx") then
- -- FIXME
- --march = toolchain:is_arch("x86") and "i386-macosx-gnu" or "x86_64-macosx-gnu"
+ march = toolchain:is_arch("x86") and "i386-macos-gnu" or "x86_64-macos-gnu"
elseif toolchain:is_plat("linux") then
march = toolchain:is_arch("x86") and "i386-linux-gnu" or "x86_64-linux-gnu"
elseif toolchain:is_plat("windows") then