recutils: disable Clang "format" hardening

Remove the -Werror=format-security compiler option when using Clang, because
recutils does not build with it enabled.
main
Theodore Ni 2 years ago
parent d97854619f
commit 3ece875b60
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
  1. 2
      pkgs/tools/misc/recutils/default.nix

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
hash = "sha256-YwFZKwAgwUtFZ1fvXUNNSfYCe45fOkmdEzYvIFxIbg4=";
};
hardeningDisable = lib.optional stdenv.cc.isClang "format";
buildInputs = [
curl
];

Loading…
Cancel
Save