[Solaris] Make RHEL devtoolsets handling Linux-specific
authorFedor Sergeev <fedor.sergeev@azul.com>
Tue, 23 Jan 2018 12:24:01 +0000 (12:24 +0000)
committerFedor Sergeev <fedor.sergeev@azul.com>
Tue, 23 Jan 2018 12:24:01 +0000 (12:24 +0000)
commit78fdc9007d3fe6c58aa182e63386f5c17269188e
tree42a2ea6a687e7db859a08e4321e59366dff95e39
parentfaa0a82416d4569b4613ced7a3a3a4ff459f301d
[Solaris] Make RHEL devtoolsets handling Linux-specific

Summary:
This patch is meant to address the last outstanding review comment on the already approved
(but not yet commited) https://reviews.llvm.org/D35755, namely making the handling of the RHEL
devtoolsets Linux-specific.

Don't know if it's best integrated into the former or applied subsequently.

Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu.

Reviewers: fedor.sergeev, tstellar, jyknight

Reviewed By: fedor.sergeev

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D42029

llvm-svn: 323194
clang/lib/Driver/ToolChains/Gnu.cpp