From 4666eca4877f2fda81b40cf863d963e1ed4b7d49 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 29 Mar 2016 10:26:32 +0000 Subject: [PATCH] linuxPackages.mba6x_bl: disable pic hardening --- pkgs/os-specific/linux/mba6x_bl/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/mba6x_bl/default.nix b/pkgs/os-specific/linux/mba6x_bl/default.nix index 010bda4bb154..2a0e53b39257 100644 --- a/pkgs/os-specific/linux/mba6x_bl/default.nix +++ b/pkgs/os-specific/linux/mba6x_bl/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + hardeningDisable = [ "pic" ]; + makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)"