forked from mirrors/nixpkgs
Do not use static-libgcc flag on Darwin
This commit is contained in:
parent
61e8fe50c2
commit
195800e881
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue