The attached patch adds ${MAKEOPTS} to all make calls.
Created attachment 129049 [details, diff] bootstrap-prefix.sh.MAKEOPTS.patch
ping
what if you insert <random crap> into MAKEOPTS and bootstrapping fails due to that? I'm a bit hesitant here because it opens up opportunities for new random failures during bootstrapping... Also, I'm not sure if all packages can be built with -j2 for instance, meaning suddenly that needs to be tested. If you really want it, you better hack around by setting MAKE to "make -j2" I guess... haubi: opinions here?
And what about bootstrap_gcc() and bootstrap_python()? Is it intended that they already use ${MAKEOPTS}?
if they use it, then that's a bug.
Ok, using both makes no sense. For GCC/python it really makes a difference and I'd like to keep it in. So I applied your patch for consistency. Thanks!
I ran into a bug since you added this in. Situation: bootstrapping make with a non-GNU make will error if the native make doesn't understand -j2. Recommended fix: Check to see if the make is GNU make before setting MAKEOPTS. Thoughts? (I would like to reopen this bug but I can't)
Then I'll close/wontfix it asap, as I just forgot to remove that default of -j2. Only people that have an idea what they're doing should mess with that variable.