]> granicus.if.org Git - clang/commitdiff
Revert "Driver: Update devtoolset usage for RHEL"
authorTom Stellard <tstellar@redhat.com>
Wed, 31 May 2017 10:01:13 +0000 (10:01 +0000)
committerTom Stellard <tstellar@redhat.com>
Wed, 31 May 2017 10:01:13 +0000 (10:01 +0000)
This reverts commit r304292.

This was committed accidentally.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@304295 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 1dd34ae70a705ea66bb79a4c5ba744ad12fa6598..a06a8a5863366190ecd253e3db1265591330b58b 100644 (file)
@@ -1442,10 +1442,11 @@ void Generic_GCC::GCCInstallationDetector::init(
     // Then look for distribution supplied gcc installations.
     if (D.SysRoot.empty()) {
       // Look for RHEL devtoolsets.
-      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");
       Prefixes.push_back("/opt/rh/devtoolset-2/root/usr");
+      Prefixes.push_back("/opt/rh/devtoolset-1.1/root/usr");
+      Prefixes.push_back("/opt/rh/devtoolset-1.0/root/usr");
       // And finally in /usr.
       Prefixes.push_back("/usr");
     }