Skip to content

Commit

Permalink
Don't build gcc_personality_v0.c on NetBSD either
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Feb 6, 2017
1 parent 9debde0 commit b914905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);
}

Expand Down

0 comments on commit b914905

Please sign in to comment.