From 8604c5494eed8d111757f23a874d9ce8ca673e2c Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 24 Jul 2016 18:03:01 +0000 Subject: [PATCH] Follow-up to 1afb17ed5f9206e1e04c5d72ea724c5fadadd46c 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. --- src/bootstrap/native.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 05ecbc0cadaa..a78cef4f409b 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -348,7 +348,9 @@ pub fn compiler_rt(build: &Build, target: &str) { ]); } } else { - sources.push("gcc_personality_v0.c"); + if !target.contains("freebsd") { + sources.push("gcc_personality_v0.c"); + } if target.contains("x86_64") { sources.extend(vec![