Skip to content

Commit

Permalink
recutils: disable Clang "format" hardening
Browse files Browse the repository at this point in the history
Remove the -Werror=format-security compiler option when using Clang, because
recutils does not build with it enabled.
  • Loading branch information
tjni committed May 9, 2022
1 parent d978546 commit 3ece875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/misc/recutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
hash = "sha256-YwFZKwAgwUtFZ1fvXUNNSfYCe45fOkmdEzYvIFxIbg4=";
};

hardeningDisable = lib.optional stdenv.cc.isClang "format";

buildInputs = [
curl
];
Expand Down

0 comments on commit 3ece875

Please sign in to comment.