From 1a7463fc8c3dba488fd9d14760c6470d511ef6ee Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 7 Jul 2024 11:18:40 +0200 Subject: [PATCH] below: fix bpf build, zerocallusedregs unavailable --- pkgs/os-specific/linux/below/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/below/default.nix b/pkgs/os-specific/linux/below/default.nix index 286a92f0eb88..5deb2f236005 100644 --- a/pkgs/os-specific/linux/below/default.nix +++ b/pkgs/os-specific/linux/below/default.nix @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { ''; # bpf code compilation - hardeningDisable = [ "stackprotector" ]; + hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; nativeBuildInputs = [ clang pkg-config rustfmt ]; buildInputs = [ elfutils zlib ];