From 0ba673bb80583c8aab3a94deaa9973b903473422 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 27 Jan 2021 00:51:56 +0800 Subject: improve zig --- xmake/modules/core/tools/zig_cc.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmake/modules') 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 -- cgit v1.3.1