From e3a4f0920f1c22c8381a1be76b2a3cdca0f649a2 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Fri, 12 Feb 2016 02:58:58 +0000 Subject: [PATCH] linuxPackages.klib: turn off format/stackprotector hardening --- pkgs/os-specific/linux/klibc/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/klibc/default.nix b/pkgs/os-specific/linux/klibc/default.nix index b948dbff2c1..b05b0dc4463 100644 --- a/pkgs/os-specific/linux/klibc/default.nix +++ b/pkgs/os-specific/linux/klibc/default.nix @@ -21,6 +21,9 @@ stdenv.mkDerivation { nativeBuildInputs = [ perl ]; + hardening_format = false; + hardening_stackprotector = false; + makeFlags = commonMakeFlags ++ [ "KLIBCARCH=${stdenv.platform.kernelArch}" "KLIBCKERNELSRC=${kernelHeaders}"