target.contains -> target_os ==

This commit is contained in:
Jorge Aparicio 2017-02-06 15:16:16 -05:00
parent 7cac9625b5
commit f7bd48ee94
1 changed files with 1 additions and 1 deletions

View File

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