linuxPackages.rtl8723bs: disable pic hardening

This commit is contained in:
Robin Gloster 2016-03-29 10:25:06 +00:00
parent 8f94246e07
commit ba3399b92f

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "0phzrhq85g52pi2b74a9sr9l2x6dzlz714k3pix486w2x5axw4xb";
};
hardeningDisable = [ "pic" ];
patchPhase = ''
substituteInPlace ./Makefile --replace /lib/modules/ "${kernel.dev}/lib/modules/"
substituteInPlace ./Makefile --replace '$(shell uname -r)' "${kernel.modDirVersion}"