From 139db2fee142db451eb55972bdf774bde8469a8d Mon Sep 17 00:00:00 2001 From: Bu Kun <65808665+pokon548@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:27:36 +0800 Subject: [PATCH] dae: Fix fzero-call-used-regs build error --- pkgs/tools/networking/dae/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/networking/dae/default.nix b/pkgs/tools/networking/dae/default.nix index 2f8f4236837a..ad17eb9f257d 100644 --- a/pkgs/tools/networking/dae/default.nix +++ b/pkgs/tools/networking/dae/default.nix @@ -22,6 +22,10 @@ buildGoModule rec { nativeBuildInputs = [ clang ]; + hardeningDisable = [ + "zerocallusedregs" + ]; + buildPhase = '' runHook preBuild