]> granicus.if.org Git - clang/commitdiff
Darwin(ish): enable embedded compiler-rt builds on Darwin.
authorTim Northover <tnorthover@apple.com>
Fri, 15 Nov 2013 23:12:44 +0000 (23:12 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 15 Nov 2013 23:12:44 +0000 (23:12 +0000)
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

index e34a69fe9e52842f8c609cd058326a92e57c1608..c6f38b2fc3521925a408fef017c2197f8fb4d52a 100644 (file)
@@ -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.
 #