gcc-wrapper: avoiding one glibc rebuild, for gcc.crossDrv

In fact 'glibc.crossDrv' didn't work. I'm not sure it should work; I think it
isn't required for much.
This commit is contained in:
Lluís Batlle i Rossell 2013-04-10 17:48:00 +02:00
parent 57637d02da
commit 9ce7b29393
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ stdenv.mkDerivation {
crossAttrs = {
shell = shell.crossDrv + shell.crossDrv.shellPath;
libc = libc.crossDrv;
libc = stdenv.gccCross.libc;
coreutils = coreutils.crossDrv;
binutils = binutils.crossDrv;
gcc = gcc.crossDrv;

View File

@ -333,6 +333,7 @@ stdenv.mkDerivation ({
crossAttrs = {
patches = patches ++ [ ./hurd-sigrtmin.patch ];
postPatch = "";
AR = "${stdenv.cross.config}-ar";
LD = "${stdenv.cross.config}-ld";
CC = "${stdenv.cross.config}-gcc";