From a6342374366e016304b77c6469c2896ab94b78fd Mon Sep 17 00:00:00 2001 From: Tim Northover <tnorthover@apple.com> Date: Fri, 15 Nov 2013 23:12:44 +0000 Subject: [PATCH] Darwin(ish): enable embedded compiler-rt builds on Darwin. This builds extra versions of compiler-rt targeting various unhosted targets. Only built on Darwin since even though they're not iOS or OSX, they share some quirks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194878 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/compiler-rt/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile index e34a69fe9e..c6f38b2fc3 100644 --- a/runtime/compiler-rt/Makefile +++ b/runtime/compiler-rt/Makefile @@ -78,12 +78,14 @@ ifeq ($(shell test -d $(COMPILERRT_SRC_ROOT) && echo OK),OK) # support. RuntimeDirs := ifeq ($(OS),Darwin) -RuntimeDirs += darwin +RuntimeDirs += darwin darwin_embedded RuntimeLibrary.darwin.Configs := \ eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \ asan_osx_dynamic.dylib \ profile_osx.a profile_ios.a \ ubsan_osx.a +RuntimeLibrary.darwin_embedded.Configs := \ + soft_static.a hard_static.a soft_pic.a hard_pic.a # Support building compiler-rt with relocatable SDKs. # -- 2.40.0