Skip to content

Commit

Permalink
Stop emitting duplicate symbols for armv7-linux-androideabi
Browse files Browse the repository at this point in the history
The change in 186517b was intended to
affect only `arm-linux-androideabi` but also affected
`armv7-linux-androideabi` which is not a pre-ARMv6 architecture.
Fixes rust-lang#449
  • Loading branch information
dcsommer authored and vladimir-ea committed Mar 8, 2022
1 parent 7f22c89 commit 5c8a08e
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 @@ -83,7 +83,7 @@ fn main() {
// rustc target (arm-linux-androideabi).
if llvm_target[0] == "armv4t"
|| llvm_target[0] == "armv5te"
|| llvm_target.get(2) == Some(&"androideabi")
|| target == "arm-linux-androideabi"
{
println!("cargo:rustc-cfg=kernel_user_helpers")
}
Expand Down

0 comments on commit 5c8a08e

Please sign in to comment.