linuxPackages.evdi: disable fortify hardening

Also fix version (this revision is actually tagged).
This commit is contained in:
Nikolay Amiantov 2018-02-22 12:55:06 +03:00
parent 94ebc13a6a
commit f5b04628f0

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "evdi-${version}";
version = "unstable-2018-01-12";
version = "1.5.0";
src = fetchFromGitHub {
owner = "DisplayLink";
repo = "evdi";
rev = "e7a08d08e3876efba8007e91df1b296f2447b8de";
rev = "v${version}";
sha256 = "01z7bx5rgpb5lc4c6dxfiv52ni25564djxmvmgy3d7r1x1mqhxgs";
};
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "KVER=${kernel.modDirVersion}" "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ];
hardeningDisable = [ "pic" "format" ];
hardeningDisable = [ "format" "pic" "fortify" ];
installPhase = ''
install -Dm755 module/evdi.ko $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/gpu/drm/evdi/evdi.ko