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
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

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 ];