When using the recommended CC=/usr/local/libexec/ccache/world/cc, the logic
here was considering ccache to be an external compiler and skipping building
the internal compiler. This leads to problems where the internal compiler
has flags that the source files depend on that the host compiler does not
understand.
This is currently relevant building 10+ on a host that is <10
using ccache as the build tries to use the host /usr/bin/cc (gcc) with clang
flags such as -Qunused-arguments.
Sponsored by EMC