mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-11-20 18:33:06 +03:00
Merge 2a6f7f5af9
into 2f60d1e90d
This commit is contained in:
commit
9d145ff9c8
@ -747,6 +747,10 @@ bool Target::setup() {
|
||||
(stdlib == StdLib::libstdcxx && usegcclibs)) {
|
||||
fargs.push_back("-nostdinc++");
|
||||
fargs.push_back("-Qunused-arguments");
|
||||
|
||||
if ((SDKOSNum >= OSVersion(11, 1)) && (stdlib == StdLib::libcxx)) {
|
||||
fargs.push_back("-lc++");
|
||||
}
|
||||
}
|
||||
|
||||
if (stdlib == StdLib::libstdcxx && usegcclibs && targetarch.size() < 2 &&
|
||||
|
Loading…
Reference in New Issue
Block a user