Skip to content

Commit 75fada0

Browse files
committed
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
1 parent 429c8ed commit 75fada0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/runtime/compiler-rt/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ RuntimeLibrary.darwin.Configs += ios.a profile_ios.a
8989
endif
9090

9191
ifneq ($(IOS_SDK),)
92+
ifneq (,$(filter ARM AARCH64,$(TARGETS_TO_BUILD)))
9293
RuntimeLibrary.darwin.Configs += cc_kext_ios.a
9394
endif
95+
endif
9496

9597
ifneq ($(IOSSIM_SDK),)
9698
RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib \

0 commit comments

Comments
 (0)