diff options
| author | ruki <[email protected]> | 2023-01-07 09:49:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-07 09:49:44 +0800 |
| commit | 79685060276a531eb230d05bbeb7b56966620c09 (patch) | |
| tree | f3f760c5d9b236d535423c08c64196818cadf2d6 | |
| parent | cd41fd1b0a40da26d14ea9d3512436b7571f07dc (diff) | |
fix target for zig
| -rw-r--r-- | xmake/toolchains/zig/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua index 2f97b0340..d6d3e1de2 100644 --- a/xmake/toolchains/zig/xmake.lua +++ b/xmake/toolchains/zig/xmake.lua @@ -96,8 +96,8 @@ toolchain("zig") -- xmake f -p cross --toolchain=zig --cross=mips64el-linux-gnuabi64 target = toolchain:cross() elseif toolchain:is_plat("macosx") then - -- zig 0.10 will raise `unable to find or provide libc for target 'x86_64-macos.11.7.1...13-gnu'` - --target = arch .. "-macos-gnu" + --@see https://github.com/ziglang/zig/issues/14226 + target = arch .. "-macos-none" elseif toolchain:is_plat("linux") then if arch == "arm" then target = "arm-linux-gnueabi" |
