anchor.diff:      # GHC will refuse to compile with a binutils suffering from it. See this
       # comment for more information:
       # https://gitlab.haskell.org/ghc/ghc/issues/4210#note_78333
  -    ++ lib.optional (stdenv.targetPlatform.isAarch32 && stdenv.hostPlatform.system != stdenv.targetPlatform.system) ./R_ARM_COPY.patch
  -    ++ lib.optional stdenv.targetPlatform.isWindows ./windres-locate-gcc.patch;
  +    ++ lib.optional (targetPlatform.isAarch32 && hostPlatform.system != targetPlatform.system) ./R_ARM_COPY.patch
  +    ++ lib.optional targetPlatform.isWindows ./windres-locate-gcc.patch;
   
     outputs = [ "out" "info" "man" ];
   
  
positive.code:   '';
  
    # else fails with "./sanity.sh: line 36: $out/bin/size: not found"
    doInstallCheck = stdenv.buildPlatform == stdenv.hostPlatform && stdenv.hostPlatform == stdenv.targetPlatform;
  
    enableParallelBuilding = true;
  
  
negative.code:     # Remove on the next release
      # https://sourceware.org/bugzilla/show_bug.cgi?id=28138
      ./fix-ld-descriptors.patch
    ] ++ lib.optional targetPlatform.isiOS ./support-ios.patch
      # This patch was suggested by Nick Clifton to fix
      # https://sourceware.org/bugzilla/show_bug.cgi?id=16177
      # It can be removed when that 7-year-old bug is closed.
  