bootstrap env: disable stackprotector hardening until gcc >=4.9

This commit is contained in:
Robin Gloster
2016-02-22 18:32:53 +00:00
parent 57d6a38ed5
commit 402d57ee8e
20 changed files with 60 additions and 2 deletions

View File

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