summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-08-07 22:02:39 +0200
committerUli Baum <xeji@cat3.de>2018-08-07 22:02:39 +0200
commit5a25e176281064b8dce64a963d4f120ee717fe83 (patch)
tree1acd694929d410c99c6861139b27442d298a00c9 /pkgs/servers/http
parent5fce5fadf5950affadddcfb313e25f176c4f4cb2 (diff)
downloadnixlib-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.nix5
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);