Blame SOURCES/0001-Driver-Add-gcc-search-path-for-RHEL-devtoolset-8.patch

6e53ac
From cc469badc98dcf97de0cde52641b5d4546a55e3f Mon Sep 17 00:00:00 2001
6e53ac
From: Tom Stellard <tstellar@redhat.com>
6e53ac
Date: Thu, 12 Jul 2018 18:31:05 -0700
6e53ac
Subject: [PATCH] Driver: Add gcc search path for RHEL devtoolset-8
6e53ac
6e53ac
---
6e53ac
 lib/Driver/ToolChains/Gnu.cpp | 1 +
6e53ac
 1 file changed, 1 insertion(+)
6e53ac
6e53ac
diff --git a/lib/Driver/ToolChains/Gnu.cpp b/lib/Driver/ToolChains/Gnu.cpp
6e53ac
index 66fa214..90c2dd4 100644
6e53ac
--- a/lib/Driver/ToolChains/Gnu.cpp
6e53ac
+++ b/lib/Driver/ToolChains/Gnu.cpp
6e53ac
@@ -1791,6 +1791,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
6e53ac
   // Non-Solaris is much simpler - most systems just go with "/usr".
6e53ac
   if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux) {
6e53ac
     // Yet, still look for RHEL devtoolsets.
6e53ac
+    Prefixes.push_back("/opt/rh/devtoolset-8/root/usr");
6e53ac
     Prefixes.push_back("/opt/rh/devtoolset-7/root/usr");
6e53ac
     Prefixes.push_back("/opt/rh/devtoolset-6/root/usr");
6e53ac
     Prefixes.push_back("/opt/rh/devtoolset-4/root/usr");
6e53ac
-- 
6e53ac
1.8.3.1
6e53ac