Skip to content

Commit

Permalink
Rollup merge of #109761 - pkubaj:patch-1, r=ozkanonur
Browse files Browse the repository at this point in the history
Drop binutils on powerpc-unknown-freebsd

FreeBSD 13.1 and 13.2 can build Rust with LLD just fine on powerpc.
  • Loading branch information
JohnTitor authored Mar 30, 2023
2 parents e1f4ddf + ad60b99 commit 33ff1c9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/bootstrap/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,6 @@ impl Step for Llvm {
}
}

// Workaround for ppc32 lld limitation
if target == "powerpc-unknown-freebsd" {
ldflags.exe.push(" -fuse-ld=bfd");
}

// https://llvm.org/docs/HowToCrossCompileLLVM.html
if target != builder.config.build {
let LlvmResult { llvm_config, .. } =
Expand Down

0 comments on commit 33ff1c9

Please sign in to comment.