[PATCH] D97993: [Driver] Suppress GCC detection under -B for non-Android

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 4 17:38:00 PST 2021


MaskRay added a comment.

In D97993#2605157 <https://reviews.llvm.org/D97993#2605157>, @manojgupta wrote:

> I am not sure of the rationale or upside of this change and why do we want to drop gcc detection? GCC does not need to do the GCC detection because it has the needed information at configure time.

The dropped detection is for -B.  --gcc-toolchain and --sysroot (default "") still have GCC detection.

The change is to make Linux cross compilation more predictable, not shadowing --gcc-toolchain with -B or system cross compilation packages.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97993



More information about the cfe-commits mailing list