mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
tengine: fix build with gcc7
This commit is contained in:
parent
5fce5fadf5
commit
5a25e17628
2 changed files with 5 additions and 3 deletions
|
@ -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 a new issue