nginxModules.vts: fix build on gcc11

This commit is contained in:
Izorkin 2022-04-24 18:13:13 +03:00
parent 486e183612
commit 6508304a88
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

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 = [];