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

Manoj Gupta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 5 12:10:20 PST 2021


manojgupta added a comment.

Another concern is people generally want clang to work out of box without any special arguments.  As a user, after installing clang's distro package or building from source, I expect that basic compilation should work out-of-box which includes gcc detection.
i.e. "clang foo.cpp -o foo" should just work in most cases.

If a user now needs to pass "-gcc-toolchain" to find gcc libraries when it just used to work, that is most likely not desirable.


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