mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
systemd: disable pacret hardening flag if withLibBPF (#396368)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user