libfaketime: fix build with gcc8
This commit is contained in:
parent
c051374da2
commit
9e356398bc
|
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||||
PREFIX = placeholder "out";
|
PREFIX = placeholder "out";
|
||||||
LIBDIRNAME = "/lib";
|
LIBDIRNAME = "/lib";
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type -Wno-error=format-truncation";
|
||||||
|
|
||||||
checkInputs = [ perl ];
|
checkInputs = [ perl ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue