mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Set the default iOS version to 3.0.
llvm-svn: 156492
This commit is contained in:
parent
2c54f42ad2
commit
5101926aaa
@ -606,13 +606,15 @@ void Triple::getiOSVersion(unsigned &Major, unsigned &Minor,
|
||||
// the clang driver combines OS X and IOS support into a common Darwin
|
||||
// toolchain that wants to know the iOS version number even when targeting
|
||||
// OS X.
|
||||
Major = 0;
|
||||
Major = 3;
|
||||
Minor = 0;
|
||||
Micro = 0;
|
||||
break;
|
||||
case IOS:
|
||||
getOSVersion(Major, Minor, Micro);
|
||||
// Default to 0.0.
|
||||
// Default to 3.0.
|
||||
if (Major == 0)
|
||||
Major = 3;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user