kernel: turn off bindnow hardening

This commit is contained in:
Robin Gloster 2016-04-19 02:21:57 +00:00
parent a36f51f773
commit b59a6aa93a

View File

@ -216,8 +216,7 @@ 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" ]
++ stdenv.lib.optional stdenv.isi686 "bindnow";
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
makeFlags = commonMakeFlags ++ [
"ARCH=${stdenv.platform.kernelArch}"