diff options
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 37578e30f6d..f50797285d2 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -249,7 +249,7 @@ impl Step for Llvm { } } - if target.starts_with("riscv") { + if !target.contains("freebsd") && target.starts_with("riscv") { // In RISC-V, using C++ atomics require linking to `libatomic` but the LLVM build // system check cannot detect this. Therefore it is set manually here. if !builder.config.llvm_tools_enabled { |
