|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" | KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" |
IUSE="mmx altivec sse2" |
IUSE="mmx altivec sse2 custom-cflags" |
| |
RDEPEND=">=dev-libs/openssl-0.9.7" | RDEPEND=">=dev-libs/openssl-0.9.7" |
| |
|
|
# any flags, as he optimize the | # any flags, as he optimize the |
# outputs | # outputs |
# | # |
strip-flags |
use custom-cflags || strip-flags |
|
append-flags -fno-PIC -fno-PIE |
|
append-ldflags -nopie |
| |
cd "${S}"/src | cd "${S}"/src |
| |
|
|
OPTIONS="CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) \ | OPTIONS="CPP=$(tc-getCXX) CC=$(tc-getCC) AS=$(tc-getCC) LD=$(tc-getCC) \ |
CFLAGS=\"-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \ | CFLAGS=\"-c -Wall ${CFLAGS} -DJOHN_SYSTEMWIDE \ |
-DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\" \ | -DJOHN_SYSTEMWIDE_HOME=\\\"\\\\\\\"/etc/john\\\\\\\"\\\"\" \ |
LDFLAGS=\"${LDFLAGS}\" |
LDFLAGS=\"${LDFLAGS}\" \ |
OPT_NORMAL=\"\"" | OPT_NORMAL=\"\"" |
| |
if use x86 ; then | if use x86 ; then |