On RHEL, devtoolset provides a more up-to-date toolchain than the base
install, and we want to make sure all the tools use are from the same
toolchain.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7821 Build 7821: arc lint + arc unit
Event Timeline
Comment Actions
Is there a way to test this?
lib/Driver/ToolChains/Linux.cpp | ||
---|---|---|
220 | You can remove the curly braces here. |
Comment Actions
Replaced the if (Distro.isRedhat()) check with a string compare on the
GCC installation lib. This narrows the scope of the fix and also makes
it possible to write a test case. The code that detects distros ignores
sysroot and looks in /etc of the test system, which makes it impossible to
write a portable lit test to verify distro specific behavior.
You can remove the curly braces here.