nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

itk: remove -march=corei7 and -mtune=native flags from cmake build files

- probable cause of build failure on Hydra on branch release-20.09

(cherry picked from commit 83a1ce3d2b25f1ed855d844a20647197fe24c265)

authored by

Ben Darwin and committed by
Jon
8a10daf5 31db508f

+6
+6
pkgs/development/libraries/itk/default.nix
··· 12 12 sha256 = "1z7rmqrhgl7hfb3d0077kvp8vpi05r2zk3qyqzmv7bzbal5sqqhv"; 13 13 }; 14 14 15 + postPatch = '' 16 + substituteInPlace CMake/ITKSetStandardCompilerFlags.cmake \ 17 + --replace "-march=corei7" "" \ 18 + --replace "-mtune=native" "" 19 + ''; 20 + 15 21 cmakeFlags = [ 16 22 "-DBUILD_EXAMPLES=OFF" 17 23 "-DBUILD_SHARED_LIBS=ON"