syntheticpp/ninja — comment on commit a25bb24b57443c1d0aee613ee2a97307e9a9679a
File:  line 0
By syntheticpp:

This commit is only for convenience. To compile with clang (I assume) one has to export CXX=clang and CFLAG=-pthread.
With this patch the cmake argument '-Dcompiler=clang' would switch to a clang build without the exports.

But looking at it again, 'cross-compiler' seems to be the wrong description in case of clang.