Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How do I get just the "-j" part from MAKEOPTS?
Date: Sun, 15 Apr 2012 23:43:46
Message-Id: jmfmeg$av4$1@dough.gmane.org
In Reply to: Re: [gentoo-devhelp] How do I get just the "-j" part from MAKEOPTS? by Mike Frysinger
On 15/04/12 23:02, Mike Frysinger wrote:
> On Monday 26 March 2012 22:43:43 Nikos Chantziaras wrote: >> I have an ebuild that uses jam as its build system. jam supports >> parallel builds with -jN. However, other make options are not >> recognized. So in the ebuild, I can't just pass ${MAKEOPTS}. >> >> Is there a way to filter out just the "-jN" part of MAKEOPTS and pass it >> on? > > i've committed makeopts_jobs to eutils.eclass for you to use
Awesome! Thank you. Makes for a cleaner ebuild.