> What would make clang _not_ get used for both phases? My Makevars shows > > CC="clang" > CXX="clang++" > CPP="clang-cpp" All we do is call R CMD SHLIB (we don't explicitly invoke the compiler or linker) so I think you'll have to dig into R CMD SHLIB to sort out why this is happening. J.J.