зеркало из https://github.com/microsoft/clang-1.git
Driver: Fix thinkos that prevented Clang from picking the right deployment
target when both {MACOSX,IPHONEOS}_DEPLOYMENT_TARGET were set. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
4c00fcdf98
Коммит
84d1e6e443
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче