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>
wip/yesman
aszlig 9 years ago
parent e4caf0fde0
commit cf4e2c426e
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
  1. 1
      pkgs/tools/security/john/default.nix

@ -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"

Loading…
Cancel
Save