blob: 175d6128bdc281e70340bcbe4047d1542b9fa872 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
To use ccache add the following to /etc/make.conf
.if !defined(NOCCACHE)
CC=%%PREFIX%%/%%CCLINKDIR%%cc
CXX=%%PREFIX%%/%%CCLINKDIR%%c++
.endif
If you have a problem building a port
define NOCCACHE and try again.
To use ccache with ports that use USE_GCC
add %%PREFIX%%/%%CCLINKDIR%% to your PATH
and make sure it is before %%LOCALBASE%%/bin
Ccache has installed links for the following compilers
%%CCACHE_COMPILERS%%
in %%PREFIX%%/%%CCLINKDIR%%
Please make sure you have the compiler installed before you do this or your
build will fail because it will not be able to find the compiler.
|