diff options
Diffstat (limited to 'xmake/modules/core/tools')
| -rw-r--r-- | xmake/modules/core/tools/zig_cc.lua | 3 |
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 |
