diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index e12780634425..825ffa4523a9 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -336,11 +336,13 @@ stdenv.mkDerivation (finalAttrs: { [ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523 "trivialautovarinit" - # breaks clang -target bpf; should be fixed to filter target? ] ++ (lib.optionals withLibBPF [ + # breaks clang -target bpf; should be fixed to not use + # a wrapped clang? "zerocallusedregs" "shadowstack" + "pacret" ]); nativeBuildInputs =