target.contains -> target_os ==
This commit is contained in:
parent
7cac9625b5
commit
f7bd48ee94
2
build.rs
2
build.rs
|
@ -221,7 +221,7 @@ fn main() {
|
||||||
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
|
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if target_os != "freebsd" && !target.contains("netbsd") {
|
if target_os != "freebsd" && target_os != "netbsd" {
|
||||||
sources.extend(&["gcc_personality_v0.c"]);
|
sources.extend(&["gcc_personality_v0.c"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue