On Mon, 01 Feb 2010 23:00:41 +0100, Mark Rosenstand wrote:

> Much more clever would be to mention MAKEFLAGS in the intro somewhere,
> and add -j1 as needed for the packages that don't support parallel make.

Exactly as currently done in DIY Linux.

> This is what I do in my build scripts, and out of >1300 source packages,
> I've only had to enforce -j1 for 15 or so.

The hidden gotcha is installation. Setting MAKEFLAGS globally like this 
also affects `make install' and this can really screw you if you're not 
careful i.e. files that should have been installed were not.

Regards
Greg
-- 
http://www.diy-linux.org/

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to