From a7498a6a53b2aa50274aa425c91e2e449a736cf4 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Fri, 26 Jul 2024 14:02:48 -0700 Subject: comp: enable compilation of zig_libc --- src/Compilation.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Compilation.zig') 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, }; -- cgit v1.2.3