| ... | ... | @@ -295,10 +295,16 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 295 | 295 | if (!options.any_c_source_files) break :b false; |
| 296 | 296 | |
| 297 | 297 | // https://github.com/llvm/llvm-project/pull/116537 |
| 298 | | if (target.cpu.arch.isMIPS64()) switch (target.abi) { |
| 299 | | .gnuabin32, .muslabin32 => break :b false, |
| 298 | switch (target.abi) { |
| 299 | .gnuabin32, |
| 300 | .gnuilp32, |
| 301 | .gnux32, |
| 302 | .ilp32, |
| 303 | .muslabin32, |
| 304 | .muslx32, |
| 305 | => break :b false, |
| 300 | 306 | else => {}, |
| 301 | | }; |
| 307 | } |
| 302 | 308 | |
| 303 | 309 | if (target.cpu.arch.isRISCV()) { |
| 304 | 310 | // Clang and LLVM currently don't support RISC-V target-abi for LTO. |