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?

  rC Clang

cfe-commits mailing list

Reply via email to