================
@@ -746,7 +746,8 @@ std::string ToolChain::buildCompilerRTBasename(const
llvm::opt::ArgList &Args,
case ToolChain::FT_Shared:
Suffix = TT.isOSWindows()
? (TT.isWindowsGNUEnvironment() ? ".dll.a" : ".lib")
- : ".so";
+ : TT.isOSAIX() ? ".a"
----------------
tarunprabhu wrote:
Could we use a `switch` or even an `if` statement here? Nested ternary
expressions are not the most readable.
https://github.com/llvm/llvm-project/pull/134362
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits