mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Merge pull request #325219 from globin/below-bpf-hardening-disable
below: fix bpf build, zerocallusedregs unavailable
This commit is contained in:
commit
ddddf00375
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
|
|||
'';
|
||||
|
||||
# bpf code compilation
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
|
||||
|
||||
nativeBuildInputs = [ clang pkg-config rustfmt ];
|
||||
buildInputs = [ elfutils zlib ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue