From c3096a4160b6122a4b6ee8bd66769458775b357c Mon Sep 17 00:00:00 2001 From: Tristan Helmich Date: Fri, 4 Mar 2016 14:48:06 +0100 Subject: [PATCH] memtest86+: disable pic/stackprotector hardening --- pkgs/tools/misc/memtest86+/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/memtest86+/default.nix b/pkgs/tools/misc/memtest86+/default.nix index 7e3824263365..097c26071fcf 100644 --- a/pkgs/tools/misc/memtest86+/default.nix +++ b/pkgs/tools/misc/memtest86+/default.nix @@ -22,6 +22,9 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-I. -std=gnu90"; + hardening_pic = false; + hardening_stackprotector = false; + buildFlags = "memtest.bin"; installPhase = ''