forked from OSchip/llvm-project
Fix makefile build on OSX when ARM targets are not enabled
Summary: When LLVM/Clang is built without ARM support, the ios_kext runtime library is not built, but without this patch, the Makefile still tries to copy it. This is a recent regression, because the ios_kext library used to also be built on x86_64. Reviewers: beanz Subscribers: aemerson, cfe-commits, rengolin Differential Revision: http://reviews.llvm.org/D13421 llvm-svn: 249281
This commit is contained in:
parent
429c8eda22
commit
75fada0211
|
@ -89,8 +89,10 @@ RuntimeLibrary.darwin.Configs += ios.a profile_ios.a
|
|||
endif
|
||||
|
||||
ifneq ($(IOS_SDK),)
|
||||
ifneq (,$(filter ARM AARCH64,$(TARGETS_TO_BUILD)))
|
||||
RuntimeLibrary.darwin.Configs += cc_kext_ios.a
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(IOSSIM_SDK),)
|
||||
RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib \
|
||||
|
|
Loading…
Reference in New Issue