[PATCH] D15006: Driver: Better detection of mingw-gcc
Yaron Keren via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 22:18:50 PST 2015
yaron.keren added a comment.
This always searches for something-gcc and then discards the result if sysroot was provided, which is a waste.
Move the searching to a helper function and then it can be done only if sysroot was not provided, as it is now.
The break is needed to avoid looking for mingw32-gcc after x86_64-w64-mingw32-gcc was already found. It's a wasted search.
http://reviews.llvm.org/D15006
More information about the cfe-commits
mailing list