recutils: disable Clang "format" hardening

Remove the -Werror=format-security compiler option when using Clang, because
recutils does not build with it enabled.
This commit is contained in:
Theodore Ni 2022-05-09 15:23:26 -05:00
parent d97854619f
commit 3ece875b60
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

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