浏览代码

fix build.rs

we don't want to match musleabihf targets
Jorge Aparicio 8 年之前
父节点
当前提交
dafe47bc2b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build.rs

+ 1 - 1
build.rs

@@ -1,7 +1,7 @@
 use std::env;
 
 fn main() {
-    if env::var("TARGET").unwrap().ends_with("hf") {
+    if env::var("TARGET").unwrap().ends_with("gnueabihf") {
         println!("cargo:rustc-cfg=gnueabihf")
     }
 }