cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files ccache-howto-freebsd.txt.in

Emanuel Haupt ehaupt at FreeBSD.org
Wed Nov 17 09:22:27 UTC 2010


Rob Farmer <rfarmer at predatorlabs.net> wrote:
> On Tue, Nov 16, 2010 at 16:10, Emanuel Haupt <ehaupt at 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.

Correct.

> (I didn't come up with this - it was discussed on questions@ a few
> months back).

Unfortunately I missed that discussion since I'm not subscribed to
questions. I will look into it, thanks for bringing this up.

Emanuel


More information about the cvs-all mailing list