Skip to content

Commit

Permalink
Fix build error on aarch64_be linux
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 8, 2023
1 parent dbb244a commit 1288ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fn main() {
println!("cargo:rustc-cfg=kernel_user_helpers")
}

if llvm_target[0] == "aarch64" {
if llvm_target[0].starts_with("aarch64") {
generate_aarch64_outlined_atomics();
}
}
Expand Down

0 comments on commit 1288ed4

Please sign in to comment.