From 5e9df54d194f11da1616e80dc0a1dbd454e870de Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Fri, 12 Feb 2016 03:50:20 +0000 Subject: [PATCH] gnat: turn off all hardening --- pkgs/development/compilers/gcc/4.5/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/compilers/gcc/4.5/default.nix b/pkgs/development/compilers/gcc/4.5/default.nix index f3c3de3950f..2493593f357 100644 --- a/pkgs/development/compilers/gcc/4.5/default.nix +++ b/pkgs/development/compilers/gcc/4.5/default.nix @@ -135,10 +135,7 @@ stdenv.mkDerivation ({ }; hardening_format = false; - hardening_relro = name != "gnat"; - hardening_bindnow = name != "gnat"; - hardening_stackprotector = name != "gnat"; - hardening_strictoverflow = name != "gnat"; + hardening_all = name != "gnat"; patches = [ ]