diff options
| author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-06-24 16:36:38 +0200 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-06-24 16:53:09 +0200 |
| commit | dc8ac3ec91716678aa4dfa9e8df1dceacdf3464f (patch) | |
| tree | 724abf1800920e07c78cbc008188c9fada6aaca6 /compiler/rustc_llvm/build.rs | |
| parent | 572ae3b22743018ea909b5f8d8a33d3d83392322 (diff) | |
| download | rust-dc8ac3ec91716678aa4dfa9e8df1dceacdf3464f.tar.gz rust-dc8ac3ec91716678aa4dfa9e8df1dceacdf3464f.zip | |
rustc_llvm: Link against libatomic on 32-bit SPARC
While at it, order the list of architectures alphabetically.
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index cdaabb036c2..3aa852c8304 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -235,6 +235,7 @@ fn main() { || target.starts_with("mips-") || target.starts_with("mipsel-") || target.starts_with("powerpc-") + || target.starts_with("sparc-") { // 32-bit targets need to link libatomic. println!("cargo:rustc-link-lib=atomic"); |
