The compiler assumes that the "cc" command maps to a C compiler that can be used on assembly generated by the LLVM toolchain. There are at least some versions of gcc for which this isn't the case, and relocation problems are returned. Clang works properly in those cases. Allow the C compiler to use to be configured during build time, and prefer clang if it's available.
The compiler assumes that the "cc" command maps to a C compiler that can be used on assembly generated by the LLVM toolchain. There are at least some versions of gcc for which this isn't the case, and relocation problems are returned. Clang works properly in those cases. Allow the C compiler to use to be configured during build time, and prefer clang if it's available.