diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-22 19:36:37 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-11-26 11:13:20 +0200 |
commit | 3b21645529678162fb888b5ff672d91ccb7021fb (patch) | |
tree | c1d979441ebf8f1f79d047f2c90d7813a1e9507e | |
parent | f689a6d1c6796c4a4f116ffec6c4624379e04bc9 (diff) | |
download | nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar.gz nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar.bz2 nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar.lz nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar.xz nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.tar.zst nixlib-3b21645529678162fb888b5ff672d91ccb7021fb.zip |
usbredir: Fix ARM build
The error from -Wformat happens on all 32-bit plaforms, not just i686.
-rw-r--r-- | pkgs/development/libraries/usbredir/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/usbredir/default.nix b/pkgs/development/libraries/usbredir/default.nix index e4e053805af7..4735375de1f9 100644 --- a/pkgs/development/libraries/usbredir/default.nix +++ b/pkgs/development/libraries/usbredir/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; # 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.optionalString stdenv.isi686 "-Wno-error=format"; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.is64bit) "-Wno-error=format"; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libusb ]; |