From f4bf1ae961fa65f434967070e159a85369fe34dd Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Tue, 31 Jul 2018 15:01:28 -0400 Subject: [PATCH] profile: up cracker CFLAGS a bit --- profiles/pentoo/base/profile.bashrc | 5 +++++ 1 file changed, 5 insertions(+) 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