The soft-float variants of (embedded) libclang_rt only make sense for ARM, so
there's no point in trying to build them if the compiler is only capable of
targeting x86.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197033
91177308-0d34-0410-b5e6-
96231b3b80d8
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.
#