make x86_64h default to 10.8 instead of 10.9

This commit is contained in:
Thomas Pöchtrager 2014-11-09 18:04:29 +01:00
parent 18d5e5b28a
commit 44d7d0d07a
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ However, there are several ways to override the default value:
\>= 10.9 also defaults to `libc++` instead of `libstdc++`, this behavior \>= 10.9 also defaults to `libc++` instead of `libstdc++`, this behavior
can be overriden by explicitly passing `-stdlib=libstdc++` to clang. can be overriden by explicitly passing `-stdlib=libstdc++` to clang.
x86\_64h defaults to `Mac OS X 10.9` and requires clang 3.5+. x86\_64h defaults to `Mac OS X 10.8` and requires clang 3.5+.
x86\_64h = x86\_64 with optimizations for the Intel Haswell Architecture. x86\_64h = x86\_64 with optimizations for the Intel Haswell Architecture.
### LICENSE: #### ### LICENSE: ####

View File

@ -381,7 +381,7 @@ bool Target::setup() {
if (!OSNum.Num()) { if (!OSNum.Num()) {
if (haveArch(Arch::x86_64h)) { if (haveArch(Arch::x86_64h)) {
OSNum = OSVersion(10, 9); // Default to 10.9 for x86_64h OSNum = OSVersion(10, 8); // Default to 10.8 for x86_64h
if (SDKOSNum < OSNum) { if (SDKOSNum < OSNum) {
std::cerr << getArchName(arch) << " requires the SDK from " std::cerr << getArchName(arch) << " requires the SDK from "
<< OSNum.Str() << " (or later)" << std::endl; << OSNum.Str() << " (or later)" << std::endl;