diff options
author | Uli Baum <xeji@cat3.de> | 2018-08-07 22:02:39 +0200 |
---|---|---|
committer | Uli Baum <xeji@cat3.de> | 2018-08-07 22:02:39 +0200 |
commit | 5a25e176281064b8dce64a963d4f120ee717fe83 (patch) | |
tree | 1acd694929d410c99c6861139b27442d298a00c9 /pkgs/servers/http | |
parent | 5fce5fadf5950affadddcfb313e25f176c4f4cb2 (diff) | |
download | nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar.gz nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar.bz2 nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar.lz nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar.xz nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.tar.zst nixlib-5a25e176281064b8dce64a963d4f120ee717fe83.zip |
tengine: fix build with gcc7
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/tengine/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/http/tengine/default.nix b/pkgs/servers/http/tengine/default.nix index b527b318e225..36f326d5590b 100644 --- a/pkgs/servers/http/tengine/default.nix +++ b/pkgs/servers/http/tengine/default.nix @@ -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); |