From 9e4199d629b08318e9183312fba4531929f8b57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 10 Mar 2025 09:13:44 +0100 Subject: [PATCH] Compilation: Remove the PowerPC soft float preprocessor workaround. Closes #21411. --- src/Compilation.zig | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Compilation.zig b/src/Compilation.zig index 275fe4b1cc..9c1117966d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5741,13 +5741,6 @@ pub fn addCCArgs( // LLVM IR files don't support these flags. if (ext != .ll and ext != .bc) { - // https://github.com/llvm/llvm-project/issues/105972 - if (target.cpu.arch.isPowerPC() and target.abi.float() == .soft) { - try argv.append("-D__NO_FPRS__"); - try argv.append("-D_SOFT_FLOAT"); - try argv.append("-D_SOFT_DOUBLE"); - } - if (comp.config.link_libc) { if (target.isGnuLibC()) { const target_version = target.os.versionRange().gnuLibCVersion().?;