| ... | @@ -109,7 +109,7 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre | ... | @@ -109,7 +109,7 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 109 | try includePath(comp, arena, "generic-freebsd"), | 109 | try includePath(comp, arena, "generic-freebsd"), |
| 110 | "-I", | 110 | "-I", |
| 111 | try csuPath(comp, arena, switch (target.cpu.arch) { | 111 | try csuPath(comp, arena, switch (target.cpu.arch) { |
| 112 | .arm, .thumb => "arm", | 112 | .arm => "arm", |
| 113 | .aarch64 => "aarch64", | 113 | .aarch64 => "aarch64", |
| 114 | .powerpc => "powerpc", | 114 | .powerpc => "powerpc", |
| 115 | .powerpc64, .powerpc64le => "powerpc64", | 115 | .powerpc64, .powerpc64le => "powerpc64", |
| ... | @@ -155,12 +155,12 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre | ... | @@ -155,12 +155,12 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 155 | .{ | 155 | .{ |
| 156 | .path = "arm" ++ path.sep_str ++ "crt1_c.c", | 156 | .path = "arm" ++ path.sep_str ++ "crt1_c.c", |
| 157 | .flags = cflags.items, | 157 | .flags = cflags.items, |
| 158 | .condition = target.cpu.arch == .arm or target.cpu.arch == .thumb, | 158 | .condition = target.cpu.arch == .arm, |
| 159 | }, | 159 | }, |
| 160 | .{ | 160 | .{ |
| 161 | .path = "arm" ++ path.sep_str ++ "crt1_s.S", | 161 | .path = "arm" ++ path.sep_str ++ "crt1_s.S", |
| 162 | .flags = acflags.items, | 162 | .flags = acflags.items, |
| 163 | .condition = target.cpu.arch == .arm or target.cpu.arch == .thumb, | 163 | .condition = target.cpu.arch == .arm, |
| 164 | }, | 164 | }, |
| 165 | | 165 | |
| 166 | .{ | 166 | .{ |