diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2021-01-09 12:53:24 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2021-01-09 12:53:24 +0100 |
commit | e1684ef5556733e30e2e91366b0a7bca274d4578 (patch) | |
tree | f7097952fac3cdf6c5806f7ad586a09b30a5c9f8 /pkgs/tools/security/pcsc-cyberjack | |
parent | 9ffd16b3850536094ca36bc31520bb15a6d5a9ef (diff) | |
download | nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar.gz nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar.bz2 nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar.lz nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar.xz nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.tar.zst nixpkgs-e1684ef5556733e30e2e91366b0a7bca274d4578.zip |
pcsc-cyberjack: fix compilation with gcc10
The change to GCC 10 did break this package as it does some conversation from 32bit integer to the type "int" which might be "narrower" depending on the platform. By default GCC 10 errors in these cases. Since this code is fine (and has been for a long time) it is okay to disable the error in this case.
Diffstat (limited to 'pkgs/tools/security/pcsc-cyberjack')
-rw-r--r-- | pkgs/tools/security/pcsc-cyberjack/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/security/pcsc-cyberjack/default.nix b/pkgs/tools/security/pcsc-cyberjack/default.nix index 7ae062547aa..015e3938c3e 100644 --- a/pkgs/tools/security/pcsc-cyberjack/default.nix +++ b/pkgs/tools/security/pcsc-cyberjack/default.nix @@ -23,6 +23,8 @@ in stdenv.mkDerivation rec { enableParallelBuilding = true; + NIX_CFLAGS_COMPILE = "-Wno-error=narrowing"; + configureFlags = [ "--with-usbdropdir=${placeholder "out"}/pcsc/drivers" "--bindir=${placeholder "tools"}/bin" |