john: Disable building with -march=native.

It prevents john from running with older CPUs such as Core2Duo and gives
an illegal hardware instruction error on these CPUs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2015-10-13 04:02:56 +02:00
parent e4caf0fde0
commit cf4e2c426e
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DJOHN_SYSTEMWIDE=1";
preConfigure = "cd src";
configureFlags = [ "--disable-native-macro" ];
installPhase = ''
mkdir -p "$out/share/john"