Index: cfe/trunk/runtime/compiler-rt/Makefile =================================================================== --- cfe/trunk/runtime/compiler-rt/Makefile +++ cfe/trunk/runtime/compiler-rt/Makefile @@ -89,8 +89,10 @@ 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 \