mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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
|
# bpf code compilation
|
||||||
hardeningDisable = [ "stackprotector" ];
|
hardeningDisable = [ "stackprotector" "zerocallusedregs" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ clang pkg-config rustfmt ];
|
nativeBuildInputs = [ clang pkg-config rustfmt ];
|
||||||
buildInputs = [ elfutils zlib ];
|
buildInputs = [ elfutils zlib ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue