diff options
| -rw-r--r-- | xmake/toolchains/zig/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua index bae362a9b..e46925376 100644 --- a/xmake/toolchains/zig/xmake.lua +++ b/xmake/toolchains/zig/xmake.lua @@ -36,6 +36,8 @@ toolchain("zig") local march if is_plat("macosx") then march = "x86_64-macosx-gnu" + elseif is_plat("linux") then + march = "x86_64-linux-gnu" end if march then toolchain:add("zcflags", "-target", march) |
