nginx: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 07:40:25 +01:00
parent f27378460d
commit c051374da2
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,10 @@ stdenv.mkDerivation {
++ optional (with stdenv.hostPlatform; isLinux || isFreeBSD) "--with-file-aio"
++ map (mod: "--add-module=${mod.src}") modules;
NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";
NIX_CFLAGS_COMPILE = [
"-I${libxml2.dev}/include/libxml2"
"-Wno-error=implicit-fallthrough"
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";
configurePlatforms = [];