]> git.lizzy.rs Git - rust.git/commitdiff
Fix build of compiler-rt on FreeBSD
authorAlan Somers <asomers@gmail.com>
Sun, 24 Jul 2016 04:48:26 +0000 (04:48 +0000)
committerAlan Somers <asomers@gmail.com>
Sun, 24 Jul 2016 04:48:26 +0000 (04:48 +0000)
Broken since ee6011fc71e02485f2dffcc25be64631c2008775 removed cmake from the
process.  There are likely other platforms still broken, but I didn't test on
them.

mk/rt.mk

index 067721fab4fa8353101c7f42aeafad01e8475197..e86aec60893e9f42c03836d6be379d864230da11 100644 (file)
--- a/mk/rt.mk
+++ b/mk/rt.mk
@@ -384,7 +384,11 @@ COMPRT_OBJS_$(1) += emutls.o
 endif
 
 ifeq ($$(findstring msvc,$(1)),)
+
+ifeq ($$(findstring freebsd,$(1)),)
 COMPRT_OBJS_$(1) += gcc_personality_v0.o
+endif
+
 COMPRT_OBJS_$(1) += emutls.o
 
 ifeq ($$(findstring x86_64,$(1)),x86_64)