Only build ARM-specific runtimes if ARM is enabled
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. llvm-svn: 197033
This commit is contained in:
parent
73170f8488
commit
235dff7b63
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue