Unverified Commit cfab6305 authored by K900's avatar K900 Committed by GitHub
Browse files

hm: remove msee4.1 compile options (#444320)

parents 146d07ac a5d1ac2a
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -20,13 +20,10 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-zWBwrnCNKi2sIopdu2XQj/7IoTsJQzlcIFNNKM0glDQ=";
  };

  patches = [
    (fetchpatch {
      name = "fix-building-on-arm.patch";
      url = "https://vcgit.hhi.fraunhofer.de/jvet/HM/-/commit/fd37cd88f557478b591dc0b9157d027354d82e2f.patch";
      hash = "sha256-xP54lBvDabc9Dy1UklH2BJH7fUGLTA4sf9WLt7WzoU8=";
    })
  ];
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "-msse4.1" ""
  '';

  cmakeFlags = [
    (lib.cmakeBool "HIGH_BITDEPTH" true)