summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-04-10 17:48:00 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-04-10 18:26:42 +0200
commit9ce7b293935fdd24d6b7161f07dbad550efaebcd (patch)
tree7d2bc0cf2ccd6281bd230cdfb68b7dd75f1e141a /pkgs/build-support
parent57637d02da71166fe9f606343f87ea29ad157525 (diff)
downloadnixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar.gz
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar.bz2
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar.lz
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar.xz
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.tar.zst
nixlib-9ce7b293935fdd24d6b7161f07dbad550efaebcd.zip
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.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/gcc-wrapper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix
index 87617621e64c..992c0f9af371 100644
--- a/pkgs/build-support/gcc-wrapper/default.nix
+++ b/pkgs/build-support/gcc-wrapper/default.nix
@@ -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;