3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #2983 from jwiegley/zlib

Do not use static-libgcc flag on Darwin
This commit is contained in:
John Wiegley 2014-06-21 09:19:48 -07:00
commit 820052eb2c

View file

@ -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;