forked from OSchip/llvm-project
Driver: Add gcc search path for RHEL devtoolset-7
Reviewers: bruno Reviewed By: bruno Subscribers: bruno, cfe-commits Differential Revision: https://reviews.llvm.org/D44130 llvm-svn: 329854
This commit is contained in:
parent
781dece55e
commit
a557852719
|
@ -1785,6 +1785,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
|
|||
// Non-Solaris is much simpler - most systems just go with "/usr".
|
||||
if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux) {
|
||||
// Yet, still look for RHEL devtoolsets.
|
||||
Prefixes.push_back("/opt/rh/devtoolset-7/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-6/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-4/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-3/root/usr");
|
||||
|
|
Loading…
Reference in New Issue