aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/usbredir
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-03-26 11:38:19 -0500
committerWill Dietz <w@wdtz.org>2018-03-26 15:21:20 -0500
commit23ace056286697a343082b8ee683bbacba78e155 (patch)
tree11bbe1af67271db7818b2865005cc4f00b2c79c2 /pkgs/development/libraries/usbredir
parent73320be341cbea5f061035dd1a876bddad02df8f (diff)
usbredir: -Wno-error
Diffstat (limited to 'pkgs/development/libraries/usbredir')
-rw-r--r--pkgs/development/libraries/usbredir/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/libraries/usbredir/default.nix b/pkgs/development/libraries/usbredir/default.nix
index 507c494ea27d..515c3b2ca3b9 100644
--- a/pkgs/development/libraries/usbredir/default.nix
+++ b/pkgs/development/libraries/usbredir/default.nix
@@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1wsnmk4wjpdhbn1zaxg6bmyxspcki2zgy0am9lk037rnl4krwzj0";
};
- # Works around bunch of "format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}'" warnings
- NIX_CFLAGS_COMPILE = stdenv.lib.optional (!stdenv.is64bit) "-Wno-error=format"
- ++ [ "-Wno-error=format-truncation" ]; # newly detected with gcc-7
+ NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb ];