mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
linuxPackages.v4l2loopback: no format/pic hardening
This commit is contained in:
parent
dc2b548955
commit
33a0e63fbf
1 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
|
|||
url = "https://github.com/umlaeute/v4l2loopback/archive/v${version}.tar.gz";
|
||||
sha256 = "1crkhxlnskqrfj3f7jmiiyi5m75zmj7n0s26xz07wcwdzdf2p568";
|
||||
};
|
||||
|
||||
|
||||
hardening_pic = false;
|
||||
hardening_format = false;
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Makefile --replace "modules_install" "INSTALL_MOD_PATH=$out modules_install"
|
||||
sed -i '/depmod/d' Makefile
|
||||
|
@ -16,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
buildInputs = [ kmod ];
|
||||
|
||||
|
||||
makeFlags = [
|
||||
"KERNELRELEASE=${kernel.modDirVersion}"
|
||||
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
|
|
Loading…
Reference in a new issue