diff options
author | Robin Gloster <mail@glob.in> | 2024-07-07 11:18:40 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2024-07-07 11:18:40 +0200 |
commit | 1a7463fc8c3dba488fd9d14760c6470d511ef6ee (patch) | |
tree | 93da8ec916e57d22972ebfe29590dc624e17ef83 /pkgs/os-specific | |
parent | 91594d11a2248ebe00f45f6b9be63fe264bb74e1 (diff) |
below: fix bpf build, zerocallusedregs unavailable
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/below/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/below/default.nix b/pkgs/os-specific/linux/below/default.nix index 286a92f0eb88d..5deb2f2360056 100644 --- a/pkgs/os-specific/linux/below/default.nix +++ b/pkgs/os-specific/linux/below/default.nix @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { ''; # bpf code compilation - hardeningDisable = [ "stackprotector" ]; + hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; nativeBuildInputs = [ clang pkg-config rustfmt ]; buildInputs = [ elfutils zlib ]; |