From d9b4391717eca6283522a5e5b76cbdef0d7495f1 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 24 Feb 2016 22:54:34 +0000 Subject: [PATCH] grub: disable stackprotector hardening --- pkgs/tools/misc/grub/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/misc/grub/default.nix b/pkgs/tools/misc/grub/default.nix index d6534fc5ee6..c0579b91816 100644 --- a/pkgs/tools/misc/grub/default.nix +++ b/pkgs/tools/misc/grub/default.nix @@ -36,6 +36,8 @@ stdenv.mkDerivation { # autoreconfHook required for the splashimage patch. buildInputs = [ autoreconfHook texinfo ]; + hardening_stackprotector = false; + prePatch = '' unpackFile $gentooPatches rm patch/400_all_grub-0.97-reiser4-20050808-gentoo.patch