Rollup merge of #109519 - bzEq:aix-llvm-c++, r=cuviper

Link against libc++ on AIX

LLVM on AIX currently is utilizing runtimes in llvm-project, such as libc++, libc++abi and libunwind.
This commit is contained in:
Matthias Krüger 2023-03-24 07:13:05 +01:00 committed by GitHub
commit 4378369b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,6 +333,7 @@ fn main() {
} else if target.contains("darwin")
|| target.contains("freebsd")
|| target.contains("windows-gnullvm")
|| target.contains("aix")
{
"c++"
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {