Don't build gcc_personality_v0.c on NetBSD either

rust-lang/rust#39425
This commit is contained in:
Jorge Aparicio 2017-02-06 15:10:02 -05:00
parent 9debde0ecc
commit b9149051f7

View File

@ -226,7 +226,7 @@ fn main() {
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
}
} else {
if target_os != "freebsd" {
if target_os != "freebsd" && !target.contains("netbsd") {
sources.extend(&["gcc_personality_v0.c"]);
}