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.
This commit is contained in:
parent
9ffd16b385
commit
e1684ef555
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue