Drop binutils on powerpc-unknown-freebsd

FreeBSD 13.1 and 13.2 can build Rust with LLD just fine on powerpc.
This commit is contained in:
pkubaj 2023-03-30 07:05:24 +00:00 committed by GitHub
parent 82bfda848e
commit ad60b99835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, .. } =