about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/hardware/rtl8192cu/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/hardware/rtl8192cu/default.nix b/modules/hardware/rtl8192cu/default.nix
index 2acfa0ec..0dfb7d53 100644
--- a/modules/hardware/rtl8192cu/default.nix
+++ b/modules/hardware/rtl8192cu/default.nix
@@ -18,6 +18,8 @@ let
     patches = lib.optional (lib.versionAtLeast kernel.version "4.0")
       ./kernel-4.x.patch;
 
+    hardeningDisable = [ "stackprotector" "pic" ];
+
     postPatch = ''
       substituteInPlace Makefile --replace /sbin/depmod :
     '';