diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-10-13 04:02:56 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-10-13 04:42:39 +0200 |
commit | cf4e2c426ef7b93926303dc2e878a7368fe62d17 (patch) | |
tree | 7c3a2f9f0fb5a600de80bac9d2f728ec1e6185a7 /pkgs/tools/security/john/default.nix | |
parent | e4caf0fde09146000f4b7b0c29413a059704d9c3 (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/default.nix')
-rw-r--r-- | pkgs/tools/security/john/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix index cde2047a5f1c4..993a3a3bb85b5 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" |