Use CC=clang by default on Yosemite to avoid gcc-4.2
Newer MRIs will pick up gcc-4.2 from PATH and use that instead of `/usr/bin/gcc`. While this worked up till now, it will not work in Yosemite anymore since Homebrew's apple-gcc42 is generally not compatible with 10.10. So when CC has not explicitly been set, set it to `clang` to avoid searching the PATH for any other gcc versions. This fixes MRI builds on systems where apple-gcc42 is installed.
Loading
Please register or sign in to comment