diff --git a/profiles/pentoo/base/profile.bashrc b/profiles/pentoo/base/profile.bashrc index 020afee55..7256585f8 100644 --- a/profiles/pentoo/base/profile.bashrc +++ b/profiles/pentoo/base/profile.bashrc @@ -7,3 +7,8 @@ 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}" + +#let's speed up the cracker's default cflags a bit. this bloats the binaries but speeds improve +if [[ $CATEGORY/$PN == net-wireless/aircrack-ng ]]; then export CFLAGS=${CFLAGS/-Os/-O3}; fi +if [[ $CATEGORY/$PN == app-crypt/hashcat ]]; then export CFLAGS=${CFLAGS/-Os/-O3}; fi +if [[ $CATEGORY/$PN == app-crypt/johntheripper ]]; then export CFLAGS=${CFLAGS/-Os/-O3}; fi