diff options
| author | Tobias Kortkamp <t@tobik.me> | 2021-11-27 07:23:55 +0100 |
|---|---|---|
| committer | Tobias Kortkamp <t@tobik.me> | 2021-11-27 07:24:18 +0100 |
| commit | 47474f10558a473258510b0e5dea13d607a5d34c (patch) | |
| tree | d23eed69805bf33c0324770390605eb5b1913d8c /compiler/rustc_llvm/build.rs | |
| parent | 3e018ce194ab16125747220676dd8a20aecd5196 (diff) | |
| download | rust-47474f10558a473258510b0e5dea13d607a5d34c.tar.gz rust-47474f10558a473258510b0e5dea13d607a5d34c.zip | |
Add riscv64gc-unknown-freebsd
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index 943ce589c4f..7f3345d2a70 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -277,7 +277,7 @@ fn main() { }; // RISC-V requires libatomic for sub-word atomic operations - if target.starts_with("riscv") { + if !target.contains("freebsd") && target.starts_with("riscv") { println!("cargo:rustc-link-lib=atomic"); } |
