[clang] [flang] [flang][driver] deprecate manual usage of -lFortran_main (PR #79016)
Andrzej WarzyĆski via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 22 11:05:21 PST 2024
================
@@ -1193,6 +1193,16 @@ static void addFortranMain(const ToolChain &TC, const ArgList &Args,
return;
}
+ const Driver &D = TC.getDriver();
+ const char *LinkFlag = "-lFortran_main";
----------------
banach-space wrote:
```suggestion
const char *FortranMainLinkFlag = "-lFortran_main";
```
https://github.com/llvm/llvm-project/pull/79016
More information about the cfe-commits
mailing list