================
@@ -747,6 +747,13 @@ void Linux::AddClangSystemIncludeArgs(const ArgList 
&DriverArgs,
   if (DriverArgs.hasArg(options::OPT_nostdlibinc))
     return;
 
+  // The LLVM-libc environment stores its C headers in the Clang include
+  // directory.
+  if (getTriple().getEnvironment() == llvm::Triple::LLVM) {
----------------
jhuber6 wrote:

I would greatly prefer that option but I wasn't sure if it would break the 
existing targets so I was being conservative. @MaskRay would that be alright? 
I'd really like to be able to use `<install>/include/<triple>` as a common 
place to put language headers.

https://github.com/llvm/llvm-project/pull/175593
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to