| ... | ... | @@ -327,9 +327,8 @@ pub fn libcFullLinkFlags(target: std.Target) []const []const u8 { |
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | pub fn clangMightShellOutForAssembly(target: std.Target) bool { |
| 330 | | // Clang defaults to using the system assembler over the internal one |
| 331 | | // when targeting a non-BSD OS. |
| 332 | | return target.cpu.arch.isSPARC(); |
| 330 | // Clang defaults to using the system assembler in some cases. |
| 331 | return target.cpu.arch.isNvptx() or target.cpu.arch == .xcore; |
| 333 | 332 | } |
| 334 | 333 | |
| 335 | 334 | /// Each backend architecture in Clang has a different codepath which may or may not |