Skip to content

Commit 8604c54

Browse files
committed
Follow-up to 1afb17e
Disable gcc_personality_v0.c in rustbuild as well as the normal build. Rustbuild now gets further on FreeBSD, but it still fails due to other problems.
1 parent 1afb17e commit 8604c54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bootstrap/native.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,9 @@ pub fn compiler_rt(build: &Build, target: &str) {
348348
]);
349349
}
350350
} else {
351-
sources.push("gcc_personality_v0.c");
351+
if !target.contains("freebsd") {
352+
sources.push("gcc_personality_v0.c");
353+
}
352354

353355
if target.contains("x86_64") {
354356
sources.extend(vec![

0 commit comments

Comments
 (0)