forked from OSchip/llvm-project
[darwin] [builtins] Stop generating cc_kext_ios5 and move iOS architectures out of cc_kext into cc_kext_ios
Summary: This corresponds to a patch to compiler-rt (D13112). Xcode 7 doesn't support targeting iOS5 and earlier. Instead of just dropping cc_kext_ios5, I've repurposed it to cc_kext_ios, and I'm pulling the iOS architectures out of cc_kext. Putting OS X and iOS slices inside the same archive was just odd. Reviewers: bogner, bob.wilson Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13113 llvm-svn: 248442
This commit is contained in:
parent
eb71c99684
commit
25bc0debf3
|
@ -620,12 +620,10 @@ void DarwinClang::AddCCKextLibArgs(const ArgList &Args,
|
|||
llvm::sys::path::append(P, "lib", "darwin");
|
||||
|
||||
// Use the newer cc_kext for iOS ARM after 6.0.
|
||||
if (!isTargetIPhoneOS() || isTargetIOSSimulator() ||
|
||||
getTriple().getArch() == llvm::Triple::aarch64 ||
|
||||
!isIPhoneOSVersionLT(6, 0)) {
|
||||
llvm::sys::path::append(P, "libclang_rt.cc_kext.a");
|
||||
if (isTargetIPhoneOS()) {
|
||||
llvm::sys::path::append(P, "libclang_rt.cc_kext_ios.a");
|
||||
} else {
|
||||
llvm::sys::path::append(P, "libclang_rt.cc_kext_ios5.a");
|
||||
llvm::sys::path::append(P, "libclang_rt.cc_kext.a");
|
||||
}
|
||||
|
||||
// For now, allow missing resource libraries to support developers who may
|
||||
|
|
|
@ -89,7 +89,7 @@ RuntimeLibrary.darwin.Configs += ios.a profile_ios.a
|
|||
endif
|
||||
|
||||
ifneq ($(IOS_SDK),)
|
||||
RuntimeLibrary.darwin.Configs += cc_kext_ios5.a
|
||||
RuntimeLibrary.darwin.Configs += cc_kext_ios.a
|
||||
endif
|
||||
|
||||
ifneq ($(IOSSIM_SDK),)
|
||||
|
|
Loading…
Reference in New Issue