kernel.i686-linux: disable bindnow hardening

This commit is contained in:
Robin Gloster 2016-04-06 14:16:42 +00:00
parent 8d4443a89a
commit 5ca99ae7a7

View File

@ -225,7 +225,8 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
nativeBuildInputs = [ perl bc nettools openssl ] ++ optional (stdenv.platform.uboot != null)
(ubootChooser stdenv.platform.uboot);
hardeningDisable = [ "format" "fortify" "stackprotector" "pic" ];
hardeningDisable = [ "format" "fortify" "stackprotector" "pic" ]
++ stdenv.lib.optional stdenv.isi686 "bindnow";
makeFlags = commonMakeFlags ++ [
"ARCH=${stdenv.platform.kernelArch}"