nginxModules.vts: fix build on gcc11
This commit is contained in:
parent
486e183612
commit
6508304a88
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ stdenv.mkDerivation {
|
||||||
NIX_CFLAGS_COMPILE = toString ([
|
NIX_CFLAGS_COMPILE = toString ([
|
||||||
"-I${libxml2.dev}/include/libxml2"
|
"-I${libxml2.dev}/include/libxml2"
|
||||||
"-Wno-error=implicit-fallthrough"
|
"-Wno-error=implicit-fallthrough"
|
||||||
|
# fix build vts module on gcc11
|
||||||
|
"-Wno-error=stringop-overread"
|
||||||
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
|
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
|
||||||
|
|
||||||
configurePlatforms = [];
|
configurePlatforms = [];
|
||||||
|
|
Loading…
Reference in a new issue