Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 18:14:05 -0800
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Emanuel Haupt <ehaupt@freebsd.org>
Cc:        cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files ccache-howto-freebsd.txt.in
Message-ID:  <AANLkTimQEcO3Ne%2BhjeQnsb8iLT7krG6esRFHOvMisVnt@mail.gmail.com>
In-Reply-To: <201011170010.oAH0AOV9022776@repoman.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Tue, Nov 16, 2010 at 16:10, Emanuel Haupt <ehaupt@freebsd.org> wrote:
> ehaupt      2010-11-17 00:10:24 UTC
>
>  FreeBSD ports repository
>
>  Modified files:
>    devel/ccache         Makefile
>    devel/ccache/files   ccache-howto-freebsd.txt.in
>  Log:
>  Update instructions on how to workaround a buildworld failure.
>
>  [1] http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/6886684

# src options
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1}
.endif
.endif

This will allow ccache to still be used for the lib32 bits - if I am
reading correctly, your directions revert to regular gcc for this
stage.
(I didn't come up with this - it was discussed on questions@ a few months back).

-- 
Rob Farmer


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimQEcO3Ne%2BhjeQnsb8iLT7krG6esRFHOvMisVnt>