anchor.diff:            " --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") +
  +          (if crossDarwin then " --with-sysroot=${getLib libcCross}/share/sysroot"
  +           else                " --with-headers=${getDev libcCross}/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" +
  
positive.code:           ++ stdenv.lib.optional (libpthread != null) libpthread;
          extraCPPSpec =
            concatStrings (intersperse " "
                            (map (x: "-I${x}/include") extraCPPDeps));
          extraLibSpec =
            if libpthreadCross != null
            then "-L${libpthreadCross}/lib ${libpthreadCross.TARGET_LDFLAGS}"
  
negative.code:   # Likewise, the LTO code doesn't find zlib.
  
    CPATH = concatStrings
              (intersperse ":" (map (x: "${x.dev or x}/include")
                                    (optionals (zlib != null) [ zlib ]
                                     ++ optionals langJava [ boehmgc ]
                                     ++ optionals javaAwtGtk xlibs
  