add a commented out DISTCC_HOSTS to /etc/make.globals, like #DISTCC_HOSTS="localhost" and edit emake to look like this: if [ -x /usr/bin/ccache/ccache ] export CC="ccache" if [ $DISTCC_HOME & -x /usr/bin/distcc ] export CC="$CC distcc" export CXX="$CC g++" export CC="$CC gcc" make ${MAKEOPTS} "@!"
The problem with this is that we enable ccache transparently by adding gcc->ccache links to the path in ebuild.sh. We do this so that ccache works even if the Makefile doesn't support the "CC" variable, which is a good thing. However, this messes up distcc. We can turn this feature off, but then we have to use the CC="ccache gcc" trick which only works some of the time. Probably add the capability for either.
new distcc has changed some things, the CC="ccache distcc" and CXX="ccache distcc" is working better.
new distcc has changed some things, the CC="ccache distcc" and CXX="ccache distcc" is working better. Apps that don't use [$CC,$CXX] are few and far between as I can see from our current portage tree. perhaps we might want to talk to Martin Pool about it though.
Related to #2679
distcc is now in FEATURES, open new bugs if you want to see functionality enhanced