3
0
Fork 0
forked from mirrors/nixpkgs

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}"