forked from OSchip/llvm-project
Also look for devtoolset-9 gcc toolchain
devtoolset-9 has been out for a while so also look for it. Differential Revision: https://reviews.llvm.org/D77420
This commit is contained in:
parent
be9c3bdc44
commit
7b9c6c16c3
|
@ -1977,6 +1977,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-9/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-8/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-7/root/usr");
|
||||
Prefixes.push_back("/opt/rh/devtoolset-6/root/usr");
|
||||
|
|
Loading…
Reference in New Issue