| ... | @@ -5741,13 +5741,6 @@ pub fn addCCArgs( | ... | @@ -5741,13 +5741,6 @@ pub fn addCCArgs( |
| 5741 | | 5741 | |
| 5742 | // LLVM IR files don't support these flags. | 5742 | // LLVM IR files don't support these flags. |
| 5743 | if (ext != .ll and ext != .bc) { | 5743 | 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 | | | |
| 5751 | if (comp.config.link_libc) { | 5744 | if (comp.config.link_libc) { |
| 5752 | if (target.isGnuLibC()) { | 5745 | if (target.isGnuLibC()) { |
| 5753 | const target_version = target.os.versionRange().gnuLibCVersion().?; | 5746 | const target_version = target.os.versionRange().gnuLibCVersion().?; |