commit 243c25007f3884e32d7fca24b8f6000e52d0033d (tree)
parent e27b4647d86e3bdaf2c4fd95db2e7d359afd7fc4
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Wed, 16 Oct 2024 04:09:04 +0200
musl: Update the list of architectures with time32 compat helpers.
Diffstat:
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/musl.zig b/src/musl.zig
@@ -123,7 +123,17 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro
try addSrcFile(arena, &source_table, src_file);
}
- const time32_compat_arch_list = [_][]const u8{ "arm", "i386", "mips", "powerpc", "m68k" };
+ const time32_compat_arch_list = [_][]const u8{
+ "arm",
+ "i386",
+ "m68k",
+ "microblaze",
+ "mips",
+ "mipsn32",
+ "or1k",
+ "powerpc",
+ "sh",
+ };
for (time32_compat_arch_list) |time32_compat_arch| {
if (mem.eql(u8, arch_name, time32_compat_arch)) {
for (compat_time32_files) |compat_time32_file| {