summary refs log tree commit diff
path: root/pkgs/development/libraries/zlib
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-10-25 18:35:17 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-10-25 18:35:17 +0000
commit3fa51ac56a90863a5ffc7e7a013b2758401f9e18 (patch)
treed0a9913a2534d4f2502851e649cc48273fa44186 /pkgs/development/libraries/zlib
parentdb31cf8287947e75db510a27070c7a3291ba4f60 (diff)
Trying to disable the references to the bootstrap-tools libgcc
svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r--pkgs/development/libraries/zlib/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index f1b8a006ecfd3..631cd50dd68a5 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -17,6 +17,10 @@ stdenv.mkDerivation (rec {
     fi
   '';
 
+  # As zlib takes part in the stdenv building, we don't want references
+  # to the bootstrap-tools libgcc (as uses to happen on arm/mips)
+  NIX_LDFLAGS = "-static-libgcc";
+
   crossAttrs = {
     dontStrip = if static then true else false;
   } // (if stdenv.cross.libc == "msvcrt" then {