Merge pull request #170102 from Izorkin/nginx-modules-fix-vts

nginxModules.vts: fix build on gcc11
This commit is contained in:
7c6f434c 2022-04-24 17:38:39 +00:00 committed by GitHub
commit cded9b18c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,8 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = toString ([
"-I${libxml2.dev}/include/libxml2"
"-Wno-error=implicit-fallthrough"
# fix build vts module on gcc11
"-Wno-error=stringop-overread"
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
configurePlatforms = [];