Skip to content

Commit 4fdc4e8

Browse files
committed
Compilation: Remove the PowerPC soft float preprocessor workaround.
Closes #21411.
1 parent 50f77c5 commit 4fdc4e8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Compilation.zig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5741,13 +5741,6 @@ pub fn addCCArgs(
57415741

57425742
// LLVM IR files don't support these flags.
57435743
if (ext != .ll and ext != .bc) {
5744-
// https://github.com/llvm/llvm-project/issues/105972
5745-
if (target.cpu.arch.isPowerPC() and target.abi.float() == .soft) {
5746-
try argv.append("-D__NO_FPRS__");
5747-
try argv.append("-D_SOFT_FLOAT");
5748-
try argv.append("-D_SOFT_DOUBLE");
5749-
}
5750-
57515744
if (comp.config.link_libc) {
57525745
if (target.isGnuLibC()) {
57535746
const target_version = target.os.versionRange().gnuLibCVersion().?;

0 commit comments

Comments
 (0)