itk: remove -march=corei7 and -mtune=native flags from cmake build files
- probable cause of build failure on Hydra on branch release-20.09
This commit is contained in:
parent
e70989d080
commit
83a1ce3d2b
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1z7rmqrhgl7hfb3d0077kvp8vpi05r2zk3qyqzmv7bzbal5sqqhv";
|
sha256 = "1z7rmqrhgl7hfb3d0077kvp8vpi05r2zk3qyqzmv7bzbal5sqqhv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace CMake/ITKSetStandardCompilerFlags.cmake \
|
||||||
|
--replace "-march=corei7" "" \
|
||||||
|
--replace "-mtune=native" ""
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_EXAMPLES=OFF"
|
"-DBUILD_EXAMPLES=OFF"
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user