git.iko.soy/typeable/nixpkgs
on master help sign in
crackxls: do not use march=native and mtune=native

patch is from @dezgeg and is contained in #8530

commit3c47a9980c43c51c65ae4a6ba87d2c252612ff5c authorPascal Wittmann <mail@pascal-wittmann.de> dateSat 11 Jul 2015, 12:20 (11 years ago) parent913dc46
1 file changed+6
pkgs/tools/security/crackxls/default.nix+6
pkgs/tools/security/crackxls/default.nix+6
@@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ pkgconfig autoconf automake openssl libgsf gmp ];
1515
16+ patchPhase = ''
17+ substituteInPlace Makefile.in \
18+ --replace '-march=native' "" \
19+ --replace '-mtune=native' ""
20+ '';
21+
1622 installPhase =
1723 ''
1824 mkdir $out/bin