On Sat, May 25, 2013 at 9:53 PM, Ryan Hill <dirtye...@gentoo.org> wrote: > On Sat, 25 May 2013 14:48:30 -0400 > Mike Gilbert <flop...@gentoo.org> wrote: > >> I'm wondering if we should create a more global function for calling >> ninja in a consistent way. Maybe we should introduce a NINJAOPTS >> variable for users to set in make.conf. Should we create a new eclass >> for this, or just stick it in eutils? > > Is NINJAOPTS a variable recognized by ninja or something that would be Gentoo > specific? It'd be nice if you could parse out what you need from MAKEOPTS > instead, but I have no strong feelings. >
I was thinking of something like a "eninja" function, which would call ninja ${NINJAOPTS}. But parsing MAKEOPTS would probably work just as well. > If there's only two users in the tree right now I don't think an eclass is > warranted. > I can't really see ninja use really expanding too much. Maybe I will wait a while and see if it happens.