diff --git a/src/Compilation/Config.zig b/src/Compilation/Config.zig index a397cf521ddaa162e242ae2e2d6c651d4b993215..d125cd8f82a1e2bd331bcbb5ed5db9a4da91dcb1 100644 --- a/src/Compilation/Config.zig +++ b/src/Compilation/Config.zig @@ -295,10 +295,16 @@ pub fn resolve(options: Options) ResolveError!Config { if (!options.any_c_source_files) break :b false; // https://github.com/llvm/llvm-project/pull/116537 - if (target.cpu.arch.isMIPS64()) switch (target.abi) { - .gnuabin32, .muslabin32 => break :b false, + switch (target.abi) { + .gnuabin32, + .gnuilp32, + .gnux32, + .ilp32, + .muslabin32, + .muslx32, + => break :b false, else => {}, - }; + } if (target.cpu.arch.isRISCV()) { // Clang and LLVM currently don't support RISC-V target-abi for LTO.