On 10/11/18 03:04 PM, Nadav Amit wrote: > Err.. I hate makefiles and distcc doesn’t make life easier. For instance, if > it sees two source files on the command-line, it freaks out and compiles it > locally. It also has an option to distribute assembly, but it is not enabled > by default. > > Anyhow, can you try the following patch? Very nice, great work! It works as expected. I tested with both distcc and icecc and both work well with DISTCC=y. Also worth noting, is that distcc has a patch to work without DISTCC=y in pump mode (though pump mode doesn't work super great with the kernel as some of the include processing takes a long time). When I have some free time, I may also try to patch icecc to work with it, as in my experience, it performs better. Regardless, I think your patch would be very valuable to be in upstream so there's at least some way to use the existing versions of distcc and icecc. Thanks! Logan