summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/compiler-rt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile
index 49eb3ada2b..f081e8a92e 100644
--- a/runtime/compiler-rt/Makefile
+++ b/runtime/compiler-rt/Makefile
@@ -84,8 +84,13 @@ RuntimeLibrary.darwin.Configs := \
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
+ hard_static.a hard_pic.a
+ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
+RuntimeLibrary.darwin_embedded.Configs += \
+ soft_static.a soft_pic.a
+endif
# Support building compiler-rt with relocatable SDKs.
#