/etc/bash/bashrc needs MAKEOPTS=$(portageq envvar MAKEOPTS) so https://wiki.gentoo.org/wiki/Kernel/Configuration#Setup is just "make" not a circus. Reproducible: Always Steps to Reproduce: 1. install gentoo
It is unreasonable for all Gentoo installations to forcibly require Portage. Moreover, this doesn't even work properly. MAKEOPTS is Portage-specific, and does not automatically affect all make processes on the system. Even if it wasn't, make cannot possibly read a variable that is not exported. And executing fat binaries is bad in bashrc.
except that `make` doesn't respect $MAKEOPTS, so exporting it wouldn't help in the first place. only Gentoo's `emake` helper uses that. if you want to get $NUMBER_CORES, then use `getconf`: make -j$(getconf _NPROCESSORS_ONLN)
(In reply to SpanKY from comment #2) > except that `make` doesn't respect $MAKEOPTS, so exporting it wouldn't help > in the first place. only Gentoo's `emake` helper uses that. > > if you want to get $NUMBER_CORES, then use `getconf`: > make -j$(getconf _NPROCESSORS_ONLN) 1. I said that already. 2. Oh god why. `make -j$(nproc)`