Linking using gold
Much of the "compilation" time is taken linking. I suspect that using the "gold" linker if it's available would speed things up.
This probably requires some CMake knowledge, I've tried some things suggested by Google, but not found anything that works.