nbd: fix build with clang
This commit is contained in:
parent
d44f6f2eb3
commit
479c0b5f6b
@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
||||||
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
Loading…
Reference in New Issue
Block a user