mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue