From 63adb41f1a060c21a68143eb9e86c2790ef66f36 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 8 Aug 2024 10:45:09 +0200 Subject: ... --- overlays/preserve-dscp/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'overlays/preserve-dscp') diff --git a/overlays/preserve-dscp/default.nix b/overlays/preserve-dscp/default.nix index 73721083..a1064591 100644 --- a/overlays/preserve-dscp/default.nix +++ b/overlays/preserve-dscp/default.nix @@ -10,7 +10,8 @@ buildFlags = [ "preserve-dscp" ]; CPATH = prev.lib.makeSearchPathOutput "dev" "include" (buildInputs ++ nativeBuildInputs); - BPF_CFLAGS = "-Wno-unused-command-line-argument -fno-stack-protector"; + BPF_CFLAGS = "-Wno-unused-command-line-argument"; + hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; outputs = [ "out" "lib" ]; -- cgit v1.2.3