summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2015-10-04 18:51:04 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2015-10-04 18:51:04 +0000
commitafc3fe86c3e73f455bbea7d01a53edf7300957cf (patch)
tree1aa1834bcf86bb1ca4cdfc696677b107835ad0a8 /runtime
parente1cb12fa9b6b63b6a71f67b821f01e588cf79628 (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/compiler-rt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile
index 0ddcdd8aac..55642a6f0c 100644
--- a/runtime/compiler-rt/Makefile
+++ b/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 \