mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
profile: up cracker CFLAGS a bit
This commit is contained in:
parent
f290469578
commit
f4bf1ae961
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue