Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] How do I get just the "-j" part from MAKEOPTS?
Date: Tue, 27 Mar 2012 02:50:33
Message-Id: jkr9ha$ili$
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?