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
@@ -11,6 +11,8 @@ stdenv.mkDerivation (rec {
outputs = [ "out" "doc" ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
hardening_format = false;
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";