[clang] [clang] [MinGW] Don't look for a GCC in path if the install base has a proper mingw sysroot (PR #76949)

Jacek Caban via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 06:00:38 PST 2024


cjacek wrote:

> Although, on a second thought, it might actually still be good to adjust it in sync. If we're invoking Clang with `-m32` and deciding on whether to use i386/i586/i686, and we end up using the install base as sysroot, without inferring any triple from there, we shouldn't go on and check another unrelated GCC in path in order to influence this. Therefore, I think we perhaps should amend this with the following:

Yes, I think that it would be better to avoid any decisions based on an unrelated GCC and the additional check looks good to me.

https://github.com/llvm/llvm-project/pull/76949


More information about the cfe-commits mailing list