Merge pull request #325219 from globin/below-bpf-hardening-disable
below: fix bpf build, zerocallusedregs unavailable
This commit is contained in:
commit
ddddf00375
@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
|
||||
# bpf code compilation
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
|
||||
|
||||
nativeBuildInputs = [ clang pkg-config rustfmt ];
|
||||
buildInputs = [ elfutils zlib ];
|
||||
|
Loading…
Reference in New Issue
Block a user