mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
ensure '-mmacosx-version-min' / MACOSX_DEPLOYMENT_TARGET is >= 10.8 for x86_64h
This commit is contained in:
parent
2407f06840
commit
7f69e4fa98
@ -403,6 +403,12 @@ bool Target::setup() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (haveArch(Arch::x86_64h) && OSNum < OSVersion(10, 8)) {
|
||||
std::cerr << getArchName(Arch::x86_64h) << " requires "
|
||||
<< "'-mmacosx-version-min=10.8' (or later)" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stdlib == StdLib::unset) {
|
||||
if (libCXXIsDefaultCXXLib()) {
|
||||
stdlib = StdLib::libcxx;
|
||||
|
Loading…
Reference in New Issue
Block a user