[clang] [clang][MinGW] Fix "[clang] [MinGW] Fix paths on Gentoo" (PR #219979)

Zhongteng Gui via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 28 08:21:19 PST 2026


dragon-archer wrote:

> That part isn't a surprise, the issue is it breaks something else.

The updated PR now should not break Gentoo's layout. 

As I said in the commit message, for g++-v*, it'll search it if the standard layout doesn't exists, which is similar to the existing special handling logic for Gentoo in `GCCInstallCandidate::addGCCLibStdCxxIncludePaths` in clang/lib/Driver/Toolchains/Gnu.cpp

For `mingw/lib` and `usr/include`, they'll be added if they exist.

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


More information about the cfe-commits mailing list