mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
profile: fix MAKEOPTS for users that have not set them (only takes effect if not set in make.conf)
This commit is contained in:
parent
c0639d5296
commit
7b37faf011
1 changed files with 5 additions and 0 deletions
|
|
@ -1 +1,6 @@
|
|||
#if [[ $CATEGORY/$PN == sys-auth/polkit ]] ; then FEATURES=${FEATURES/multilib-strict/} ; fi
|
||||
local CORES="$(grep -c ^proc /proc/cpuinfo)"
|
||||
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
|
||||
#echo ${EMERGE_DEFAULT_OPTS} | grep -q jobs || export EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --jobs=${CORES} --load-average=${CORES}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue