summaryrefslogtreecommitdiffstats
path: root/clang/runtime/compiler-rt
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-11-15 23:12:44 +0000
committerTim Northover <tnorthover@apple.com>2013-11-15 23:12:44 +0000
commit2622b24a596967903cea5d5ebad510e80a961191 (patch)
tree96a3e224d5e0e350fdc563edb1472cda520e5666 /clang/runtime/compiler-rt
parent085886430a520d870876428f31c507fd9e19a0ec (diff)
downloadbcm5719-llvm-2622b24a596967903cea5d5ebad510e80a961191.tar.gz
bcm5719-llvm-2622b24a596967903cea5d5ebad510e80a961191.zip
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. llvm-svn: 194878
Diffstat (limited to 'clang/runtime/compiler-rt')
-rw-r--r--clang/runtime/compiler-rt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/runtime/compiler-rt/Makefile b/clang/runtime/compiler-rt/Makefile
index e34a69fe9e5..c6f38b2fc35 100644
--- a/clang/runtime/compiler-rt/Makefile
+++ b/clang/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.
#
OpenPOWER on IntegriCloud