diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-08-12 18:10:47 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-08-12 18:10:47 +0200 |
commit | d1b2c34750416d1e739cc6626342caf8d25c8b5d (patch) | |
tree | 87521534c5e7aa3e7459ae2d741f1f6923c48179 /pkgs | |
parent | f7da99c7ff49e149a3f3bae57b80f52df53d63b3 (diff) |
qrcode: enable fortify hardening, disable warning
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/graphics/qrcode/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/qrcode/default.nix b/pkgs/tools/graphics/qrcode/default.nix index f39071b394c1..606e546af293 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} |