Skip to content

Commit a553581

Browse files
committed
Change IsFlangMode to literal true as it was checked already - missed one.
1 parent 19dc0e4 commit a553581

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Driver/ToolChains/PPCLinux.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ void PPCLinuxToolChain::addFortranRuntimeLibs(
111111
Path = getCompilerRTArgString(Args, "runtime", ToolChain::FT_Static,
112112
true))))
113113
CmdArgs.push_back(Path);
114-
else if (getVFS().exists(Twine(Path = getCompilerRTArgString(
115-
Args, "runtime", ToolChain::FT_Shared,
116-
getDriver().IsFlangMode()))))
114+
else if (getVFS().exists(
115+
Twine(Path = getCompilerRTArgString(
116+
Args, "runtime", ToolChain::FT_Shared, true))))
117117
CmdArgs.push_back(Path);
118118
else
119119
CmdArgs.push_back("-lflang_rt.runtime");

0 commit comments

Comments
 (0)