anchor.diff:          # glibc can contain linker scripts: find them, copy their deps,
           # and get rid of absolute paths (nuke-refs would make them useless)
           local lScripts=$(grep --files-with-matches --max-count=1 'GNU ld script' -R "$out/lib")
  -        cp -d -t "$out/lib/" $(cat $lScripts | tr " " "\n" | grep -F '${glibc}' | sort -u)
  +        cp -d -t "$out/lib/" $(cat $lScripts | tr " " "\n" | grep -F '${glibc.out}' | sort -u)
           for f in $lScripts; do
  -          substituteInPlace "$f" --replace '${glibc}/lib/' ""
  +          substituteInPlace "$f" --replace '${glibc.out}/lib/' ""
           done
   
           # Hopefully we won't need these.
  
positive.code:         rm -f $out/lib/gcc/*/*/include-fixed/asm
          rm -rf $out/lib/gcc/*/*/plugin
          #rm -f $out/lib/gcc/*/*/*.a
          cp -rd ${gcc.cc}/libexec/* $out/libexec
          chmod -R u+w $out/libexec
          rm -rf $out/libexec/gcc/*/*/plugin
          mkdir $out/include
          cp -rd ${gcc.cc}/include/c++ $out/include
          chmod -R u+w $out/include
          rm -rf $out/include/c++/*/ext/pb_ds
          rm -rf $out/include/c++/*/ext/parallel
  
          cp -d ${gmpxx}/lib/libgmp*.so* $out/lib
          cp -d ${mpfr.out}/lib/libmpfr*.so* $out/lib
          cp -d ${libmpc}/lib/libmpc*.so* $out/lib
          cp -d ${zlib.out}/lib/libz.so* $out/lib
  
negative.code: 
          # Copy binutils.
          for i in as ld ar ranlib nm strip readelf objdump; do
            cp ${binutils.out}/bin/$i $out/bin
          done
          cp -d ${binutils.out}/lib/lib*.so* $out/lib
  
  