Skip to content

Commit dc8ac3e

Browse files
committed
rustc_llvm: Link against libatomic on 32-bit SPARC
While at it, order the list of architectures alphabetically.
1 parent 572ae3b commit dc8ac3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_llvm/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ fn main() {
235235
|| target.starts_with("mips-")
236236
|| target.starts_with("mipsel-")
237237
|| target.starts_with("powerpc-")
238+
|| target.starts_with("sparc-")
238239
{
239240
// 32-bit targets need to link libatomic.
240241
println!("cargo:rustc-link-lib=atomic");

0 commit comments

Comments
 (0)