From 975249e71916ac95b7f64983444e9fb8f2b98236 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 17 Nov 2010 00:10:24 +0000 Subject: Update instructions on how to workaround a buildworld failure. [1] http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/6886684 PR: 151287 (related) Submitted by: Dimitry Andric, avilla Discussed on: hackers [1] --- devel/ccache/files/ccache-howto-freebsd.txt.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devel/ccache/files') 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 -- cgit v1.2.3