From d1b2c34750416d1e739cc6626342caf8d25c8b5d Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Fri, 12 Aug 2016 18:10:47 +0200 Subject: [PATCH] qrcode: enable fortify hardening, disable warning --- pkgs/tools/graphics/qrcode/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/qrcode/default.nix b/pkgs/tools/graphics/qrcode/default.nix index f39071b394c..606e546af29 100644 --- a/pkgs/tools/graphics/qrcode/default.nix +++ b/pkgs/tools/graphics/qrcode/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation { inherit (s) rev url sha256; }; - hardeningDisable = [ "fortify" ]; + NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; installPhase = '' mkdir -p "$out"/{bin,share/doc/qrcode}