Browse Source

Merge pull request #450 from dcsommer/master

Amanieu d'Antras 3 years ago
parent
commit
0f6248a441
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build.rs

+ 1 - 1
build.rs

@@ -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")
     }