diff options
Diffstat (limited to 'devel/ccache/files')
-rw-r--r-- | devel/ccache/files/ccache-howto-freebsd.txt.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ccache/files/ccache-howto-freebsd.txt.in b/devel/ccache/files/ccache-howto-freebsd.txt.in index eef830d2e7fd..74c44f6e6238 100644 --- a/devel/ccache/files/ccache-howto-freebsd.txt.in +++ b/devel/ccache/files/ccache-howto-freebsd.txt.in @@ -5,9 +5,13 @@ To use ccache add the following to /etc/make.conf .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) +.if !defined(CC) || ${CC} == "cc" CC=%%PREFIX%%/%%CCLINKDIR%%/world-cc +.endif +.if !defined(CXX) || ${CXX} == "c++" CXX=%%PREFIX%%/%%CCLINKDIR%%/world-c++ .endif +.endif For Korn/Bourne shells Add the following to /etc/profile: export PATH=%%PREFIX%%/%%CCLINKDIR%%:$PATH |