This fixes some of the clang bugs. CCACHE_CPP2 should no longer be needed. - Remove COLORS option as it is now upstreamed and enabled by default. Requires DISABLE_MAKE_JOBS to see them (or no -j to make(1)) as bmake has a feature which disables colors with -j. Changes: https://ccache.samba.org/releasenotes.html#_ccache_3_2_1 Changes: https://ccache.samba.org/releasenotes.html#_ccache_3_2
9 lines
263 B
Bash
9 lines
263 B
Bash
#!/bin/sh
|
|
|
|
[ "${0##*/}" = "ccache" ] &&
|
|
printf "Please, use one of the compiler links in\n%%PREFIX%%/%%CCLINKDIR%%/world\nto invoke ccache\n" >&2 &&
|
|
exit 1
|
|
|
|
unset CCACHE_PATH
|
|
export CCACHE_COMPILERCHECK=content
|
|
exec %%PREFIX%%/%%CCLINKDIR%%/${0##*/} "$@"
|