This fixes building ports with ccache+clang without needing CCACHE_CPP2
set in make.conf. This fix will be removed once upstream ccache has a
working fix for this.
Note that this does not fix the issue if building on non-CURRENT with
CC=clang
- Improve examples
- Add two new scripts to enhance buildworld/buildkernel
ccache may now be used safely and effectively to build the FreeBSD source tree.
Follow the pkg-message tips to exploit it.
Approved by: maintainer
enviroment variable, this aids in 'buildworld' and 'buildkernel'.
CCACHE_NOHASH_SIZE_MTIME
This tells ccache to not hash the real compiler's size and modi-
fication time. Normally this is the mechanism to detect compiler
upgrades. There are situations however, where even though the
compiler's size or modification time has changed you can safely
use the cached objects (e.g. if as part of your build system the
compiler is built as well and the compiler's source has not
changed; or if the compiler has only changes that do not affect
code generation). Use this feature only if you know what you are
doing.
Submitted by: schweikh