mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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
3 changed files with 6 additions and 3 deletions
|
|
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||
-DZIG_TARGET_MCPU="$MCPU" `
|
||||
-DZIG_STATIC=ON `
|
||||
-DZIG_NO_LIB=ON
|
||||
-DZIG_NO_LIB=ON `
|
||||
-DZIG2_NO_RTLIB=ON
|
||||
CheckLastExitCode
|
||||
|
||||
ninja install
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||
-DZIG_TARGET_MCPU="$MCPU" `
|
||||
-DZIG_STATIC=ON `
|
||||
-DZIG_NO_LIB=ON
|
||||
-DZIG_NO_LIB=ON `
|
||||
-DZIG2_NO_RTLIB=ON
|
||||
CheckLastExitCode
|
||||
|
||||
ninja install
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@ $Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
|
|||
-DZIG_TARGET_TRIPLE="$TARGET" `
|
||||
-DZIG_TARGET_MCPU="$MCPU" `
|
||||
-DZIG_STATIC=ON `
|
||||
-DZIG_NO_LIB=ON
|
||||
-DZIG_NO_LIB=ON `
|
||||
-DZIG2_NO_RTLIB=ON
|
||||
CheckLastExitCode
|
||||
|
||||
ninja install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue