[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
Wed Apr 9 06:41:11 PDT 2025
================
@@ -850,6 +852,21 @@ void ToolChain::addFortranRuntimeLibraryPath(const llvm::opt::ArgList &Args,
CmdArgs.push_back(Args.MakeArgString("-L" + DefaultLibPath));
}
+void ToolChain::addFlangRTLibPath(const ArgList &Args,
+ llvm::opt::ArgStringList &CmdArgs) const {
+ // Link static flang_rt.runtime.a or shared flang_rt.runtime.so
----------------
DanielCChen wrote:
Right. Will fix.
https://github.com/llvm/llvm-project/pull/134362
More information about the cfe-commits
mailing list