mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 08:40:57 +02:00
profile: looks like my auto MAKEOPTS setting picked -j0 on single core machines, score one bug fix based on using an rpi
This commit is contained in:
parent
4f30859a7f
commit
02066d147b
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#if [[ $CATEGORY/$PN == sys-auth/polkit ]] ; then FEATURES=${FEATURES/multilib-strict/} ; fi
|
||||
local CORES="$(grep -c ^proc /proc/cpuinfo)"
|
||||
if [[ "${CORES}" -eq "0" ]] ; then CORES="1" ; fi
|
||||
echo ${MAKEOPTS} | grep -q -e -j || export MAKEOPTS="-j${CORES} -l${CORES}"
|
||||
|
||||
#by the time this is parsed, EMERGE_DEFAULT_OPTS are already applied, this file is too late
|
||||
|
|
|
|||
Loading…
Reference in a new issue