diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-03-15 19:35:07 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-03-24 20:16:17 +0300 |
commit | 0c6db0ca48612f18e5c2b744dfa385ba8eecc950 (patch) | |
tree | b09a03993f3aabe6d2f6635e345eb3ee044f7f47 /pkgs/tools | |
parent | 89693e71b9c89b348ef2173180c4965c0e7d8357 (diff) |
cc-wrapper: add option to skip flags for native optimizations
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/pingtcp/default.nix | 5 | ||||
-rw-r--r-- | pkgs/tools/security/crackxls/default.nix | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/pkgs/tools/networking/pingtcp/default.nix b/pkgs/tools/networking/pingtcp/default.nix index 4d99eaaeff66..a1b1f549ee4a 100644 --- a/pkgs/tools/networking/pingtcp/default.nix +++ b/pkgs/tools/networking/pingtcp/default.nix @@ -13,11 +13,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - postPatch = '' - substituteInPlace {.,pfcquirks}/CMakeLists.txt \ - --replace "-march=native" "" - ''; - enableParallelBuilding = true; doCheck = false; diff --git a/pkgs/tools/security/crackxls/default.nix b/pkgs/tools/security/crackxls/default.nix index c8ea45a39dbe..f4c92ac701f4 100644 --- a/pkgs/tools/security/crackxls/default.nix +++ b/pkgs/tools/security/crackxls/default.nix @@ -13,12 +13,6 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig autoconf automake openssl libgsf gmp ]; - patchPhase = '' - substituteInPlace Makefile.in \ - --replace '-march=native' "" \ - --replace '-mtune=native' "" - ''; - installPhase = '' mkdir -p $out/bin |