Skip to content

Commit b914905

Browse files
author
Jorge Aparicio
committed
Don't build gcc_personality_v0.c on NetBSD either
rust-lang/rust#39425
1 parent 9debde0 commit b914905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ fn main() {
226226
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
227227
}
228228
} else {
229-
if target_os != "freebsd" {
229+
if target_os != "freebsd" && !target.contains("netbsd") {
230230
sources.extend(&["gcc_personality_v0.c"]);
231231
}
232232

0 commit comments

Comments
 (0)