profile: gentoo fixed e2fsprogs

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-04-25 16:02:42 -04:00
parent 31981ae790
commit 03108edabb
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -3,11 +3,6 @@ local CORES="$(nproc)"
if [[ "${CORES}" -eq "0" ]] ; then CORES="1" ; fi
echo ${MAKEOPTS} | grep -q -e -j || export MAKEOPTS="-j${CORES} -l${CORES}"
#https://bugs.gentoo.org/904338
if [[ ${CATEGORY/$PN} == e2fsprogs ]]; then
export MAKEOPTS="-j1 -l${CORES}"
fi
#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}"