tianshilei1992 abandoned this revision.
tianshilei1992 added a comment.

In D91107#2384191 <https://reviews.llvm.org/D91107#2384191>, @tstellar wrote:
> This code could be improved, but I don't think adding a specific environment 
> variable for this a good solution.  You can use the existing 
> CCC_OVERRIDE_OPTIONS to get the same effect. e.g.  
> CCC_OVERRIDE_OPTIONS=^--gcc-toolchain=/path/to/gcc
>
> More documentation can be found here: 
> https://github.com/llvm-mirror/clang/blob/master/tools/driver/driver.cpp#L75

Thanks for the tip, Tom! It really helps. This env is too obscureā€¦


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91107/new/

https://reviews.llvm.org/D91107

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to