authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-16 04:09:04+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-02 10:38:06+01:00
log243c25007f3884e32d7fca24b8f6000e52d0033d
tree6f1b763013f0c8cbc2300eb4b4656f625fc5bb70
parente27b4647d86e3bdaf2c4fd95db2e7d359afd7fc4
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

musl: Update the list of architectures with time32 compat helpers.


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

src/musl.zig+11-1
...@@ -123,7 +123,17 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro...@@ -123,7 +123,17 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro
123 try addSrcFile(arena, &source_table, src_file);123 try addSrcFile(arena, &source_table, src_file);
124 }124 }
125125
126 const time32_compat_arch_list = [_][]const u8{ "arm", "i386", "mips", "powerpc", "m68k" };126 const time32_compat_arch_list = [_][]const u8{
127 "arm",
128 "i386",
129 "m68k",
130 "microblaze",
131 "mips",
132 "mipsn32",
133 "or1k",
134 "powerpc",
135 "sh",
136 };
127 for (time32_compat_arch_list) |time32_compat_arch| {137 for (time32_compat_arch_list) |time32_compat_arch| {
128 if (mem.eql(u8, arch_name, time32_compat_arch)) {138 if (mem.eql(u8, arch_name, time32_compat_arch)) {
129 for (compat_time32_files) |compat_time32_file| {139 for (compat_time32_files) |compat_time32_file| {