================
@@ -9270,11 +9260,6 @@ void LinkerWrapper::ConstructJob(Compilation &C, const 
JobAction &JA,
     });
   }
 
-  // If we disable the GPU C library support it needs to be forwarded to the
-  // link job.
-  if (!Args.hasFlag(options::OPT_gpulibc, options::OPT_nogpulibc, true))
----------------
jhuber6 wrote:

This is leftover from an ill-conceived attempt at making the AMDGPU target link 
it automatically if it was present. It's useless now so I just deleted it.

https://github.com/llvm/llvm-project/pull/125957
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to