about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/below/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/below/default.nix')
-rw-r--r--pkgs/os-specific/linux/below/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/below/default.nix b/pkgs/os-specific/linux/below/default.nix
index 286a92f0eb88d..dc7754a7793eb 100644
--- a/pkgs/os-specific/linux/below/default.nix
+++ b/pkgs/os-specific/linux/below/default.nix
@@ -1,5 +1,4 @@
 { lib
-, stdenv
 , fetchFromGitHub
 , rustPlatform
 , clang
@@ -29,7 +28,7 @@ rustPlatform.buildRustPackage rec {
   '';
 
   # bpf code compilation
-  hardeningDisable = [ "stackprotector" ];
+  hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
 
   nativeBuildInputs = [ clang pkg-config rustfmt ];
   buildInputs = [ elfutils zlib ];