From d87acf000c27247f52b9df33b7abea7e4824ae66 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 6 Dec 2015 14:32:42 +0800 Subject: [PATCH] hashcat: remove strip, add x86 --- app-crypt/hashcat/hashcat-9999.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app-crypt/hashcat/hashcat-9999.ebuild b/app-crypt/hashcat/hashcat-9999.ebuild index a1cb4ebc1..ada86bdcc 100644 --- a/app-crypt/hashcat/hashcat-9999.ebuild +++ b/app-crypt/hashcat/hashcat-9999.ebuild @@ -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() {