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>
References:  <201011170010.oAH0AOV9022776@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 16, 2010 at 16:10, Emanuel Haupt <ehaupt@freebsd.org> wrote:
> ehaupt =A0 =A0 =A02010-11-17 00:10:24 UTC
>
> =A0FreeBSD ports repository
>
> =A0Modified files:
> =A0 =A0devel/ccache =A0 =A0 =A0 =A0 Makefile
> =A0 =A0devel/ccache/files =A0 ccache-howto-freebsd.txt.in
> =A0Log:
> =A0Update instructions on how to workaround a buildworld failure.
>
> =A0[1] http://kerneltrap.org/mailarchive/freebsd-hackers/2010/11/8/688668=
4

# src options
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE)
CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1}
CXX:=3D${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 b=
ack).

--=20
Rob Farmer



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