From cf4e2c426ef7b93926303dc2e878a7368fe62d17 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 13 Oct 2015 04:02:56 +0200 Subject: [PATCH] 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 --- pkgs/tools/security/john/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix index cde2047a5f1c..993a3a3bb85b 100644 --- a/pkgs/tools/security/john/default.nix +++ b/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"