summaryrefslogtreecommitdiff
path: root/xmake/modules
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/modules
parent56e16607418f6649b1789e7ef9421975a9132a13 (diff)
improve zig
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/core/tools/zig_cc.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/zig_cc.lua b/xmake/modules/core/tools/zig_cc.lua
index 91a5c75bb..8d235c818 100644
--- a/xmake/modules/core/tools/zig_cc.lua
+++ b/xmake/modules/core/tools/zig_cc.lua
@@ -31,8 +31,7 @@ function init(self)
if not self:program():find("target", 1, true) then
local march
if is_plat("macosx") then
- -- FIXME
- --march = is_arch("x86") and "i386-macosx-gnu" or "x86_64-macosx-gnu"
+ march = is_arch("x86") and "i386-macos-gnu" or "x86_64-macos-gnu"
elseif is_plat("linux") then
march = is_arch("x86") and "i386-linux-gnu" or "x86_64-linux-gnu"
elseif is_plat("windows") then