tengine: fix build with gcc7
This commit is contained in:
parent
5fce5fadf5
commit
5a25e17628
@ -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);
|
||||
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user