Skip to content

Commit ad60b99

Browse files
authored
Drop binutils on powerpc-unknown-freebsd
FreeBSD 13.1 and 13.2 can build Rust with LLD just fine on powerpc.
1 parent 82bfda8 commit ad60b99

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bootstrap/llvm.rs

-5
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,6 @@ impl Step for Llvm {
434434
}
435435
}
436436

437-
// Workaround for ppc32 lld limitation
438-
if target == "powerpc-unknown-freebsd" {
439-
ldflags.exe.push(" -fuse-ld=bfd");
440-
}
441-
442437
// https://llvm.org/docs/HowToCrossCompileLLVM.html
443438
if target != builder.config.build {
444439
let LlvmResult { llvm_config, .. } =

0 commit comments

Comments
 (0)