[clang] [Clang][Driver] Add gcc-14, 15 and 16 toolset path on RHEL (PR #178459)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 03:06:00 PDT 2026


================
@@ -2298,6 +2298,9 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
       D.getVFS().exists("/opt/rh")) {
     // TODO: We may want to remove this, since the functionality
     //   can be achieved using config files.
+    Prefixes.push_back("/opt/rh/gcc-toolset-16/root/usr");
----------------
tbaederr wrote:

CC @nikic, @kwk, @tuliom 

https://github.com/llvm/llvm-project/pull/178459


More information about the cfe-commits mailing list