0
0
Fork 0
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:
Maximilian Bosch 2024-07-07 13:29:21 +00:00 committed by GitHub
commit ddddf00375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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