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:
parent
57637d02da
commit
9ce7b29393
|
@ -57,7 +57,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
shell = shell.crossDrv + shell.crossDrv.shellPath;
|
shell = shell.crossDrv + shell.crossDrv.shellPath;
|
||||||
libc = libc.crossDrv;
|
libc = stdenv.gccCross.libc;
|
||||||
coreutils = coreutils.crossDrv;
|
coreutils = coreutils.crossDrv;
|
||||||
binutils = binutils.crossDrv;
|
binutils = binutils.crossDrv;
|
||||||
gcc = gcc.crossDrv;
|
gcc = gcc.crossDrv;
|
||||||
|
|
|
@ -333,6 +333,7 @@ stdenv.mkDerivation ({
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
patches = patches ++ [ ./hurd-sigrtmin.patch ];
|
patches = patches ++ [ ./hurd-sigrtmin.patch ];
|
||||||
|
postPatch = "";
|
||||||
AR = "${stdenv.cross.config}-ar";
|
AR = "${stdenv.cross.config}-ar";
|
||||||
LD = "${stdenv.cross.config}-ld";
|
LD = "${stdenv.cross.config}-ld";
|
||||||
CC = "${stdenv.cross.config}-gcc";
|
CC = "${stdenv.cross.config}-gcc";
|
||||||
|
|
Loading…
Reference in New Issue