about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2016-07-24 18:03:01 +0000
committerAlan Somers <asomers@gmail.com>2016-07-24 18:03:01 +0000
commit8604c5494eed8d111757f23a874d9ce8ca673e2c (patch)
tree18669286dfd75a5b059c04faa598880fda450283
parent1afb17ed5f9206e1e04c5d72ea724c5fadadd46c (diff)
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.
-rw-r--r--src/bootstrap/native.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 05ecbc0cada..a78cef4f409 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![