[clang] [flang] [driver] Generalize the code that adds the path of libflang_rt.runtime.a. (PR #134362)

Daniel Chen via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 07:39:13 PDT 2025


================
@@ -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"
----------------
DanielCChen wrote:

Right. Will do.

https://github.com/llvm/llvm-project/pull/134362


More information about the cfe-commits mailing list