summary refs log tree commit diff
path: root/pkgs/development/libraries/zlib
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-01-28 01:46:59 +0000
committerRobin Gloster <mail@glob.in>2016-01-30 16:36:57 +0000
commitacb408646e1151cd2d0ee188d5a36424bfc2ea00 (patch)
tree4d8fc24a3db7c1e0183222f994281334095b3c28 /pkgs/development/libraries/zlib
parent8329066d5e9bb2888c4a194605d11ef09534aaf2 (diff)
remove local pic flags, now set by hardened stdenv
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r--pkgs/development/libraries/zlib/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix
index 7a6f480215c73..93474d14344e1 100644
--- a/pkgs/development/libraries/zlib/default.nix
+++ b/pkgs/development/libraries/zlib/default.nix
@@ -31,8 +31,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 = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc "
-                     + stdenv.lib.optionalString (stdenv.isFreeBSD) "-fPIC";
+  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";
 
   crossAttrs = {
     dontStrip = static;