diff options
author | John Wiegley <johnw@newartisans.com> | 2014-06-16 14:26:40 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-06-16 14:26:40 -0700 |
commit | 195800e8816a53d5faafde4a0990a904dbac2510 (patch) | |
tree | bb32158d1ce96307e23aab95b15b2c319dfe3279 /pkgs/development/libraries/zlib | |
parent | 61e8fe50c21cd96f5dac5d6884f90c5e147047bc (diff) |
Do not use static-libgcc flag on Darwin
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r-- | pkgs/development/libraries/zlib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 088eb1b949300..f45c18dd0f146 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { # 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_CFLAGS_COMPILE = "-static-libgcc"; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc"; crossAttrs = { dontStrip = static; |