mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
crackxls: do not use march=native and mtune=native
patch is from @dezgeg and is contained in #8530
This commit is contained in:
parent
913dc46a2c
commit
3c47a9980c
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ pkgconfig autoconf automake openssl libgsf gmp ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace '-march=native' "" \
|
||||
--replace '-mtune=native' ""
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue