authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-07-26 14:02:48-07:00
committergravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-07-26 14:02:48-07:00
loga7498a6a53b2aa50274aa425c91e2e449a736cf4
tree7ec3dfc122fa5bfb21b0b7c4e5ac87cf53469653
parent846bd4036154e82fae5d9385c3e349c99840ac5f
signaturelock-open Commit is signed but in an unrecognized format.

comp: enable compilation of zig_libc


1 files changed, 1 insertions(+), 0 deletions(-)

src/Compilation.zig+1
...@@ -6333,6 +6333,7 @@ fn canBuildZigLibC(target: std.Target, use_llvm: bool) bool {...@@ -6333,6 +6333,7 @@ fn canBuildZigLibC(target: std.Target, use_llvm: bool) bool {
6333 }6333 }
6334 return switch (target_util.zigBackend(target, use_llvm)) {6334 return switch (target_util.zigBackend(target, use_llvm)) {
6335 .stage2_llvm => true,6335 .stage2_llvm => true,
6336 .stage2_riscv64 => true,
6336 .stage2_x86_64 => if (target.ofmt == .elf or target.ofmt == .macho) true else build_options.have_llvm,6337 .stage2_x86_64 => if (target.ofmt == .elf or target.ofmt == .macho) true else build_options.have_llvm,
6337 else => build_options.have_llvm,6338 else => build_options.have_llvm,
6338 };6339 };