anchor.diff:        };
   
     cmakeFlagsAll = [
  +    "-DFPROFILE_GENERATE=OFF"
  +    "-DFPROFILE_USE=OFF"
  +    "-DNATIVE_BUILD=OFF"
       "-DCHECKED_BUILD=${boolOn debugSupport}"
       "-DENABLE_AGGRESSIVE_CHECKS=OFF"
       "-DENABLE_ASSEMBLY=ON"
       "-DENABLE_LIBNUMA=${boolOn (
         elem targetSystem platforms.linux
         && numactl != null)}"
  +      #"NO_ATOMICS"
       "-DENABLE_PIC=ON"
  +    "-DENABLE_AGGRESSIVE_CHECKS=OFF"
  +    "-DENABLE_ASSEMBLY=ON"
  +    "-DCHECKED_BUILD=OFF"
  +    "-DWARNINGS_AS_ERRORS=OFF"
  +    "-DENABLE_ALTIVEC=${boolOn (elem targetSystem platforms.powerpc-all)}"
  +    "-DCPU_POWER8=${boolOn (elem targetSystem platforms.powerpc-all)}"
       "-DENABLE_PPA=OFF"
  +    "-DENABLE_VTUNE=OFF"
  +    "-DDETAILED_CU_STATS=${boolOn custatsSupport}"
       "-DENABLE_TESTS=OFF"
  -    "-DENABLE_VTUNE=OFF"
  -    "-DWARNINGS_AS_ERRORS=OFF"
     ];
   in
   
  
positive.code:     rm -v $out/lib/libx265.a
    '';
  
    meta = with stdenv.lib; {
      description = "Library for encoding h.265/HEVC video streams";
      homepage = http://x265.org;
      license = licenses.gpl2;
  
negative.code:     cmakeFlags = [
        "-DENABLE_CLI=OFF"
        "-DENABLE_SHARED=OFF"
        "-DENABLE_HDR10_PLUS=ON"
        "-DEXPORT_C_API=OFF"
        "-DHIGH_BIT_DEPTH=ON"
        "-DLINKED_8BIT=OFF"
  