Compilation: Remove the PowerPC soft float preprocessor workaround.

Closes #21411.
This commit is contained in:
Alex Rønne Petersen
2025-03-10 09:13:44 +01:00
parent 28469636ba
commit 9e4199d629

View File

@@ -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().?;