anchor.diff:  
     EXTRA_TARGET_CFLAGS =
       if cross != null && libcCross != null then [
  -        "-idirafter ${libcCross.dev}/include"
  +        "-idirafter ${getDev libcCross}/include"
         ]
         ++ optionals (! crossStageStatic) [
           "-B${libcCross.out}/lib"
  
positive.code:           " --disable-libatomic " +  # libatomic requires libc
            " --disable-decimal-float" # libdecnumber requires libc
            else
            (if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot"
             else                " --with-headers=${libcCross.dev}/include") +
            # Ensure that -print-prog-name is able to find the correct programs.
            (stdenv.lib.optionalString (crossMingw || crossDarwin) (
              " --with-as=${binutilsCross}/bin/${cross.config}-as" +
  
negative.code:           ++ stdenv.lib.optional (libpthread != null) libpthread;
          extraCPPSpec =
            concatStrings (intersperse " "
                            (map (x: "-I${x.dev or x}/include") extraCPPDeps));
          extraLibSpec =
            if libpthreadCross != null
            then "-L${libpthreadCross}/lib ${libpthreadCross.TARGET_LDFLAGS}"
  