packetdrill: fix build with gcc9
This commit is contained in:
parent
9398fbe97b
commit
cb08ffe4c5
|
@ -11,7 +11,11 @@ stdenv.mkDerivation {
|
|||
setSourceRoot = ''
|
||||
export sourceRoot=$(realpath */gtests/net/packetdrill)
|
||||
'';
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=unused-result"
|
||||
"-Wno-error=stringop-truncation"
|
||||
"-Wno-error=address-of-packed-member"
|
||||
];
|
||||
nativeBuildInputs = [ bison flex ];
|
||||
patches = [ ./nix.patch ];
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue