mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
ci: Build with ZIG2_NO_RTLIB
on Windows machines.
Windows does not really have weak symbols. So when we bootstrap with `zig cc` and link both Zig's compiler-rt and the CBE's `compiler_rt.c` we end up with duplicate symbol errors at link time.
This commit is contained in:
parent
3dd6456c0f
commit
335ed630a0
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||||||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||||
-DZIG_TARGET_MCPU="$MCPU" `
|
-DZIG_TARGET_MCPU="$MCPU" `
|
||||||
-DZIG_STATIC=ON `
|
-DZIG_STATIC=ON `
|
||||||
-DZIG_NO_LIB=ON
|
-DZIG_NO_LIB=ON `
|
||||||
|
-DZIG2_NO_RTLIB=ON
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
ninja install
|
ninja install
|
||||||
|
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||||||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||||
-DZIG_TARGET_MCPU="$MCPU" `
|
-DZIG_TARGET_MCPU="$MCPU" `
|
||||||
-DZIG_STATIC=ON `
|
-DZIG_STATIC=ON `
|
||||||
-DZIG_NO_LIB=ON
|
-DZIG_NO_LIB=ON `
|
||||||
|
-DZIG2_NO_RTLIB=ON
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
ninja install
|
ninja install
|
||||||
|
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||||||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||||
-DZIG_TARGET_MCPU="$MCPU" `
|
-DZIG_TARGET_MCPU="$MCPU" `
|
||||||
-DZIG_STATIC=ON `
|
-DZIG_STATIC=ON `
|
||||||
-DZIG_NO_LIB=ON
|
-DZIG_NO_LIB=ON `
|
||||||
|
-DZIG2_NO_RTLIB=ON
|
||||||
CheckLastExitCode
|
CheckLastExitCode
|
||||||
|
|
||||||
ninja install
|
ninja install
|
||||||
|
Loading…
Reference in New Issue
Block a user