[PATCH] D97894: [Driver] Drop $sysroot/usr special case from Gentoo gcc-config detection

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 3 16:38:12 PST 2021


MaskRay added a comment.

Thanks. This looks just looks me untested and likely uneeded logic.

My notes about --gcc-toolchain= and --prefix (-B)

https://lore.kernel.org/linux-kbuild/20210303230708.l6pbk5o5nc2qa5of@google.com/

In the presence of --gcc-toolchain= (even if it equals `$prefix/usr`), the magic detection should be avoided.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97894



More information about the cfe-commits mailing list