tengine: fix build with gcc7

This commit is contained in:
Uli Baum 2018-08-07 22:02:39 +02:00
parent 5fce5fadf5
commit 5a25e17628
2 changed files with 5 additions and 3 deletions

View file

@ -60,7 +60,10 @@ stdenv.mkDerivation rec {
++ 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";
preConfigure = (concatMapStringsSep "\n" (mod: mod.preConfigure or "") modules);

View file

@ -19955,8 +19955,7 @@ with pkgs;
teeworlds = callPackage ../games/teeworlds { };
tengine = callPackage ../servers/http/tengine {
stdenv = overrideCC stdenv gcc6;
modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders nginxModules.modsecurity-nginx];
modules = with nginxModules; [ rtmp dav moreheaders modsecurity-nginx ];
};
tennix = callPackage ../games/tennix { };