mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
comp: enable compilation of zig_libc
This commit is contained in:
parent
846bd40361
commit
a7498a6a53
1 changed files with 1 additions and 0 deletions
|
|
@ -6333,6 +6333,7 @@ fn canBuildZigLibC(target: std.Target, use_llvm: bool) bool {
|
|||
}
|
||||
return switch (target_util.zigBackend(target, use_llvm)) {
|
||||
.stage2_llvm => true,
|
||||
.stage2_riscv64 => true,
|
||||
.stage2_x86_64 => if (target.ofmt == .elf or target.ofmt == .macho) true else build_options.have_llvm,
|
||||
else => build_options.have_llvm,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue