[PATCH] D141206: [clang] [MinGW] Avoid adding <base>/include and <base>/lib when cross compiling

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 8 12:30:29 PST 2023


mstorsjo added a comment.

In D141206#4034159 <https://reviews.llvm.org/D141206#4034159>, @mati865 wrote:

> I had thought we do that already so this change looks reasonable for me.
> Just one thought, do we support multilib toolchains? I think in that case Clang would have to add `<base>/include` despite different triple.

This patch actually does that already, see the parameter `RequireArchMatch` which is set to true for the `<base>/lib` case and false for `<base>/include`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141206/new/

https://reviews.llvm.org/D141206



More information about the cfe-commits mailing list