rustc_llvm: Link against libatomic on 32-bit SPARC
While at it, order the list of architectures alphabetically.
This commit is contained in:
parent
572ae3b227
commit
dc8ac3ec91
@ -235,6 +235,7 @@ fn main() {
|
|||||||
|| target.starts_with("mips-")
|
|| target.starts_with("mips-")
|
||||||
|| target.starts_with("mipsel-")
|
|| target.starts_with("mipsel-")
|
||||||
|| target.starts_with("powerpc-")
|
|| target.starts_with("powerpc-")
|
||||||
|
|| target.starts_with("sparc-")
|
||||||
{
|
{
|
||||||
// 32-bit targets need to link libatomic.
|
// 32-bit targets need to link libatomic.
|
||||||
println!("cargo:rustc-link-lib=atomic");
|
println!("cargo:rustc-link-lib=atomic");
|
||||||
|
Loading…
Reference in New Issue
Block a user