[PATCH] D45152: [MinGW] Add option for disabling looking for a mingw gcc in PATH
Martell Malone via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 15:27:05 PDT 2018
martell added a comment.
@mstorsjo I would much prefer to detect the clang sysroot first and if that exists just ignore the gcc one.
Most of the time clang and gcc will be in the same bin folder and in the case where the clang sysroot with mingw prefix folders is not found we can just default back to the default gcc behavior.
This should cover the use case for existing gcc users while not blocking us to move forward with clang only toolchains.
If someone really wants to ignore the clang sysroot with mingw folders we could add a flag for that and not the other way around.
What are your thoughts here?
Repository:
rC Clang
https://reviews.llvm.org/D45152
More information about the cfe-commits
mailing list