gettext, gcc5: enable stackprotector now

This has been forgotten in #29349 ?
This commit is contained in:
Vladimír Čunát 2017-09-15 11:04:14 +02:00
parent 52d1f68005
commit 16cf448933
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 2 additions and 4 deletions

View File

@ -221,8 +221,7 @@ stdenv.mkDerivation ({
inherit sha256;
};
# FIXME stackprotector needs gcc 4.9 in bootstrap tools
hardeningDisable = [ "stackprotector" "format" ];
hardeningDisable = [ "format" ];
inherit patches;

View File

@ -12,8 +12,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "doc" "info" ];
# FIXME stackprotector needs gcc 4.9 in bootstrap tools
hardeningDisable = [ "format" "stackprotector" ];
hardeningDisable = [ "format" ];
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";