diff options
author | Robin Gloster <mail@glob.in> | 2016-02-22 18:32:53 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-02-22 18:32:53 +0000 |
commit | 402d57ee8e54f5f5e9398f61d1934de3ff66cf3c (patch) | |
tree | 0cb05cedee2857d4b29a488b9efb257bb5960d45 /pkgs/development/libraries/zlib | |
parent | 57d6a38ed513e80fbd4135b7c2d3a9326a2649fc (diff) |
bootstrap env: disable stackprotector hardening until gcc >=4.9
Diffstat (limited to 'pkgs/development/libraries/zlib')
-rw-r--r-- | pkgs/development/libraries/zlib/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 93474d14344e1..2871985a08269 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -29,6 +29,9 @@ stdenv.mkDerivation (rec { fi ''; + # FIXME needs gcc 4.9 in bootstrap tools + hardening_stackprotector = false; + # 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"; |