[flang-commits] [clang] [flang] [clang][driver] Special care for -l flags in config files (PR #117573)
Fangrui Song via flang-commits
flang-commits at lists.llvm.org
Fri Nov 29 19:23:08 PST 2024
================
@@ -1250,6 +1273,7 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) {
if (!ContainsError)
ContainsError = loadConfigFiles();
bool HasConfigFile = !ContainsError && (CfgOptions.get() != nullptr);
+ bool HasConfigLinkerIn = !ContainsError && (CfgLinkerInputs.get() != nullptr);
----------------
MaskRay wrote:
`&& CfgLinkerInputs`
https://github.com/llvm/llvm-project/pull/117573
More information about the flang-commits
mailing list