linuxPackages.rtl8812au: turn off pic hardening

This commit is contained in:
Robin Gloster 2016-02-12 02:51:04 +00:00
parent 72a9d9a4a7
commit b73c8a5d91
1 changed files with 7 additions and 5 deletions

View File

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "14ifhplawipfd6971mxw76dv3ygwc0n8sbz2l3f0vvkin6x88bsj";
};
hardening_pic = false;
patchPhase = ''
substituteInPlace ./Makefile --replace /lib/modules/ "${kernel.dev}/lib/modules/"
substituteInPlace ./Makefile --replace '$(shell uname -r)' "${kernel.modDirVersion}"