mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
comp: enable compilation of zig_libc
This commit is contained in:
parent
846bd40361
commit
a7498a6a53
@ -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…
x
Reference in New Issue
Block a user