anchor.diff:                  })
                   else stdenv;
   
  -  # --enable-release adds -ffunction-sections & LTO that require a big amount of
  -  # RAM and the 32-bit memory space cannot handle that linking
  -  # We also disable adding "-g" for easier linking
  -  releaseFlags = if stdenv.is32bit
  -                 then [ "--disable-release" "--disable-debug-symbols" ]
  -                 else [ "--enable-release" ];
   in
   
   buildStdenv.mkDerivation ({
  
positive.code:     ++ lib.optionals buildStdenv.isDarwin [ xcbuild rsync ]
      ++ extraNativeBuildInputs;
  
    preConfigure = ''
      # remove distributed configuration files
      rm -f configure
  
negative.code:   ++ lib.optional drmSupport "--enable-eme=widevine"
  
    ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
                      else [ "--disable-debug" "--enable-optimize" ])
    # --enable-release adds -ffunction-sections & LTO that require a big amount of
    # RAM and the 32-bit memory space cannot handle that linking
    ++ flag (!debugBuild && !stdenv.is32bit) "release"
    ++ flag enableDebugSymbols "debug-symbols"
    ++ lib.optionals enableDebugSymbols [ "--disable-strip" "--disable-install-strip" ]
  
    ++ lib.optional enableOfficialBranding "--enable-official-branding"
    ++ extraConfigureFlags;
  
  