nginxModules.vts: fix build on gcc11

This commit is contained in:
Izorkin
2022-04-24 18:20:37 +03:00
parent 486e183612
commit 6508304a88
+2
View File
@@ -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 = [];