Skip to content

Commit

Permalink
dae: fix fzero-call-used-regs build error
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Jul 11, 2024
1 parent 634ad13 commit 5697762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dae/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ buildGoModule rec {

nativeBuildInputs = [ clang ];

hardeningDisable = [ "zerocallusedregs" ];

buildPhase = ''
make CFLAGS="-D__REMOVE_BPF_PRINTK -fno-stack-protector -Wno-unused-command-line-argument" \
NOSTRIP=y \
Expand Down

0 comments on commit 5697762

Please sign in to comment.