Skip to content

Commit 2e83801

Browse files
committed
[flang-rt] Fix aother unintended change.
1 parent c47e705 commit 2e83801

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clang/lib/Driver/ToolChain.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -824,11 +824,7 @@ void ToolChain::addFortranRuntimeLibs(const ArgList &Args,
824824
if (AsNeeded)
825825
addAsNeededOption(*this, Args, CmdArgs, /*as_needed=*/false);
826826
}
827-
if (const char *res = getCompilerRTArgString(
828-
Args, "runtime", ToolChain::FT_Static, getDriver().IsFlangMode()))
829-
CmdArgs.push_back(res);
830-
else
831-
CmdArgs.push_back("-lflang_rt.runtime");
827+
CmdArgs.push_back("-lflang_rt.runtime");
832828
addArchSpecificRPath(*this, Args, CmdArgs);
833829

834830
// needs libexecinfo for backtrace functions

0 commit comments

Comments
 (0)