Skip to content

Commit 7ab3382

Browse files
committed
Change IsFlangMode to literal true as it was checked already.
1 parent 1ab8965 commit 7ab3382

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/Driver/ToolChains/AIX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ void AIX::addFortranRuntimeLibs(const ArgList &Args,
626626
// Link flang_rt.runtime.a. On AIX, the static and shared library are all
627627
// named .a
628628
CmdArgs.push_back(getCompilerRTArgString(
629-
Args, "runtime", ToolChain::FT_Static, getDriver().IsFlangMode()));
629+
Args, "runtime", ToolChain::FT_Static, true));
630630
}
631631

632632
ToolChain::CXXStdlibType AIX::GetDefaultCXXStdlibType() const {

clang/lib/Driver/ToolChains/PPCLinux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void PPCLinuxToolChain::addFortranRuntimeLibs(
109109
const char *Path;
110110
if (getVFS().exists(Twine(
111111
Path = getCompilerRTArgString(Args, "runtime", ToolChain::FT_Static,
112-
getDriver().IsFlangMode()))))
112+
true))))
113113
CmdArgs.push_back(Path);
114114
else if (getVFS().exists(Twine(Path = getCompilerRTArgString(
115115
Args, "runtime", ToolChain::FT_Shared,

0 commit comments

Comments
 (0)