diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 97f0d87d0fa4..aab2d44c99da 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -306,7 +306,8 @@ stdenv.mkDerivation (finalAttrs: { hardeningDisable = [ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523 "trivialautovarinit" - ]; + # breaks clang -target bpf; should be fixed to filter target? + ] ++ (lib.optional withLibBPF "zerocallusedregs"); nativeBuildInputs = [