forked from OSchip/llvm-project
Driver: Fix thinkos that prevented Clang from picking the right deployment
target when both {MACOSX,IPHONEOS}_DEPLOYMENT_TARGET were set. llvm-svn: 99055
This commit is contained in:
parent
6a8efa8a79
commit
e543a5e684
|
@ -394,9 +394,9 @@ DerivedArgList *Darwin::TranslateArgs(InputArgList &Args,
|
|||
// this. Perhaps put under -pedantic?
|
||||
if (getTriple().getArch() == llvm::Triple::arm ||
|
||||
getTriple().getArch() == llvm::Triple::thumb)
|
||||
OSXVersion = 0;
|
||||
OSXTarget = 0;
|
||||
else
|
||||
iPhoneVersion = 0;
|
||||
iPhoneOSTarget = 0;
|
||||
}
|
||||
|
||||
if (OSXTarget) {
|
||||
|
|
Loading…
Reference in New Issue