From f7bd48ee94d5dd2ed6bb4b5a42c4ee42ce407ea7 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 6 Feb 2017 15:16:16 -0500 Subject: [PATCH] target.contains -> target_os == --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 125813e..79fbcf3 100644 --- a/build.rs +++ b/build.rs @@ -221,7 +221,7 @@ fn main() { sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]); } } else { - if target_os != "freebsd" && !target.contains("netbsd") { + if target_os != "freebsd" && target_os != "netbsd" { sources.extend(&["gcc_personality_v0.c"]); }