aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/security/john
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-10-13 04:02:56 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-10-13 04:42:39 +0200
commitcf4e2c426ef7b93926303dc2e878a7368fe62d17 (patch)
tree7c3a2f9f0fb5a600de80bac9d2f728ec1e6185a7 /pkgs/tools/security/john
parente4caf0fde09146000f4b7b0c29413a059704d9c3 (diff)
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>
Diffstat (limited to 'pkgs/tools/security/john')
-rw-r--r--pkgs/tools/security/john/default.nix1
1 files changed, 1 insertions, 0 deletions
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"