================ @@ -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) ---------------- jhuber6 wrote:
Don't know how I missed that. https://github.com/llvm/llvm-project/pull/132737 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits