Skip to content

Commit 1aa071c

Browse files
committed
Stop emitting duplicate symbols for armv7-linux-androideabi
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
1 parent ea0cb5b commit 1aa071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn main() {
8383
// rustc target (arm-linux-androideabi).
8484
if llvm_target[0] == "armv4t"
8585
|| llvm_target[0] == "armv5te"
86-
|| llvm_target.get(2) == Some(&"androideabi")
86+
|| target == "arm-linux-androideabi"
8787
{
8888
println!("cargo:rustc-cfg=kernel_user_helpers")
8989
}

0 commit comments

Comments
 (0)