================
@@ -9337,6 +9337,11 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back(
Args.MakeArgString("--device-linker=" + TC.getTripleString() + "="
+
"-lclang_rt.builtins"));
+ bool HasFlangRT = HasCompilerRT && C.getDriver().IsFlangMode();
+ if (HasCompilerRT)
----------------
Meinersbur wrote:
Do you mean
```suggestion
if (HasFlangRT)
```
https://github.com/llvm/llvm-project/pull/132737
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits