git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commitcf4e2c426ef7b93926303dc2e878a7368fe62d17 authoraszlig <aszlig@redmoonstudios.org> dateTue 13 Oct 2015, 04:02 (11 years ago) parente4caf0f
1 file changed+1
pkgs/tools/security/john/default.nix+1
pkgs/tools/security/john/default.nix+1
@@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
1616 NIX_CFLAGS_COMPILE = "-DJOHN_SYSTEMWIDE=1";
1717
1818 preConfigure = "cd src";
19+ configureFlags = [ "--disable-native-macro" ];
1920
2021 installPhase = ''
2122 mkdir -p "$out/share/john"