mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Set the default iOS version to 3.0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d38d3a000
commit
537c2f5b2a
@ -606,13 +606,15 @@ void Triple::getiOSVersion(unsigned &Major, unsigned &Minor,
|
|||||||
// the clang driver combines OS X and IOS support into a common Darwin
|
// 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
|
// toolchain that wants to know the iOS version number even when targeting
|
||||||
// OS X.
|
// OS X.
|
||||||
Major = 0;
|
Major = 3;
|
||||||
Minor = 0;
|
Minor = 0;
|
||||||
Micro = 0;
|
Micro = 0;
|
||||||
break;
|
break;
|
||||||
case IOS:
|
case IOS:
|
||||||
getOSVersion(Major, Minor, Micro);
|
getOSVersion(Major, Minor, Micro);
|
||||||
// Default to 0.0.
|
// Default to 3.0.
|
||||||
|
if (Major == 0)
|
||||||
|
Major = 3;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user