Skip to content

Commit 0f243ef

Browse files
committed
Compilation: Remove the PowerPC soft float preprocessor workaround.
Closes #21411.
1 parent 0d6c36c commit 0f243ef

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Compilation.zig

-7
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)