below: fix bpf build, zerocallusedregs unavailable

This commit is contained in:
Robin Gloster
2024-07-07 11:18:40 +02:00
parent 91594d11a2
commit 1a7463fc8c
+1 -1
View File
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
'';
# bpf code compilation
hardeningDisable = [ "stackprotector" ];
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
nativeBuildInputs = [ clang pkg-config rustfmt ];
buildInputs = [ elfutils zlib ];