From 1afb17ed5f9206e1e04c5d72ea724c5fadadd46c Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 24 Jul 2016 04:48:26 +0000 Subject: [PATCH] Fix build of compiler-rt on FreeBSD 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/rt.mk b/mk/rt.mk index 067721fab4f..e86aec60893 100644 --- 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)