packetdrill: fix build with gcc9
This commit is contained in:
parent
9398fbe97b
commit
cb08ffe4c5
@ -11,7 +11,11 @@ stdenv.mkDerivation {
|
|||||||
setSourceRoot = ''
|
setSourceRoot = ''
|
||||||
export sourceRoot=$(realpath */gtests/net/packetdrill)
|
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 ];
|
nativeBuildInputs = [ bison flex ];
|
||||||
patches = [ ./nix.patch ];
|
patches = [ ./nix.patch ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user