diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-10-04 18:51:04 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-10-04 18:51:04 +0000 |
commit | 75fada02114bb279b81cfee13c4775dbfb58d469 (patch) | |
tree | 407384f1871584d11293412671e84ca46b614519 | |
parent | 429c8eda22eaa5567612dd804e75973aa1b6e5b3 (diff) | |
download | bcm5719-llvm-75fada02114bb279b81cfee13c4775dbfb58d469.tar.gz bcm5719-llvm-75fada02114bb279b81cfee13c4775dbfb58d469.zip |
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
-rw-r--r-- | clang/runtime/compiler-rt/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/runtime/compiler-rt/Makefile b/clang/runtime/compiler-rt/Makefile index 0ddcdd8aaca..55642a6f0cc 100644 --- a/clang/runtime/compiler-rt/Makefile +++ b/clang/runtime/compiler-rt/Makefile @@ -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 \ |