diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-03-10 09:13:44 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-04 06:08:10 +0200 |
| commit | 9e4199d629b08318e9183312fba4531929f8b57b (patch) | |
| tree | 3b682b3d4ed0c74f9f553666be69b4b7dbd4b571 /src/Compilation.zig | |
| parent | 28469636baf65c72e5bde083563ffd7ab1b6c26e (diff) | |
| download | zig-9e4199d629b08318e9183312fba4531929f8b57b.tar.gz zig-9e4199d629b08318e9183312fba4531929f8b57b.zip | |
Compilation: Remove the PowerPC soft float preprocessor workaround.
Closes #21411.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 7 |
1 files changed, 0 insertions, 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().?; |
