diff options
| author | David Rubin <daviru007@icloud.com> | 2024-07-26 14:02:48 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-07-26 14:02:48 -0700 |
| commit | a7498a6a53b2aa50274aa425c91e2e449a736cf4 (patch) | |
| tree | 7ec3dfc122fa5bfb21b0b7c4e5ac87cf53469653 | |
| parent | 846bd4036154e82fae5d9385c3e349c99840ac5f (diff) | |
| download | zig-a7498a6a53b2aa50274aa425c91e2e449a736cf4.tar.gz zig-a7498a6a53b2aa50274aa425c91e2e449a736cf4.zip | |
comp: enable compilation of zig_libc
| -rw-r--r-- | src/Compilation.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 8808e72e04..10961af84a 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -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, }; |
