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

Rob Farmer rfarmer at predatorlabs.net
Wed Nov 17 02:45:45 UTC 2010


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.
(I didn't come up with this - it was discussed on questions@ a few months back).

-- 
Rob Farmer


More information about the cvs-ports mailing list