Switching back to X_SCLS because that's the offical RedHat environment variable

This commit is contained in:
Dave Johansen 2015-01-02 12:12:17 -07:00
parent 21f3bda45b
commit 4c38795a19
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Prefixes.push_back("/usr");
+
+ // RedHat Developer Toolset support
+ if (const char *software_collections = getenv("CLANG_DTS_LIST")) {
+ if (const char *software_collections = getenv("X_SCLS")) {
+ SmallVector<StringRef, 4> Scls;
+ StringRef(software_collections).split(Scls, StringRef(" "), -1, false);
+ for (const auto &Scl : Scls) {

View File

@ -672,7 +672,7 @@ exit 0
%changelog
* Fri Jan 02 2015 Dave Johansen <davejohansen@gmail.com> 3.4.2-4
- Adding CLANG_DTS_LIST for turning on devtoolset use at runtime
- Adding X_SCLS for turning on devtoolset use at runtime
* Thu Nov 20 2014 Dave Johansen <davejohansen@gmail.com> 3.4.2-3
- Fix for CVE-2014-2893