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>
This commit is contained in:
parent
e4caf0fde0
commit
cf4e2c426e
@ -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…
Reference in New Issue
Block a user