mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
hashcat: remove strip, add x86
This commit is contained in:
parent
3f23dba05b
commit
d87acf000c
1 changed files with 6 additions and 3 deletions
|
|
@ -12,11 +12,14 @@ EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
src_prepare() {
|
||||
#quick hack to compile amd64 version only
|
||||
sed -e "s|all: binaries|all: posix64|g" -i src/Makefile
|
||||
#quick hack to compile on supported platforms only
|
||||
use amd64 && sed -e "s|all: binaries|all: posix64|g" -i src/Makefile
|
||||
use x86 && sed -e "s|all: binaries|all: posix32|g" -i src/Makefile
|
||||
#do not strip
|
||||
sed -e "s|-s -fomit-frame-pointer|-fomit-frame-pointer|g" -i src/Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue