[PATCH] D91107: [Clang][Driver] Added the support for setting GCC toolchain via environment variable

Tom Stellard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 16:23:53 PST 2020


tstellar added a comment.

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


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91107



More information about the cfe-commits mailing list