From a758ae44cfd0c097073b1dff008baf96d9ad94b3 Mon Sep 17 00:00:00 2001 From: tilpner Date: Sun, 11 Mar 2018 15:58:26 +0100 Subject: fcgiwrap: don't error on implicit fallthrough This errored since ca8aa5d, but should be safe. Warning is left on (instead of completely disabled), to not hide potential other fallthroughs if someone was to make changes to fcgiwrap with this package. --- pkgs/servers/fcgiwrap/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/servers/fcgiwrap/default.nix') diff --git a/pkgs/servers/fcgiwrap/default.nix b/pkgs/servers/fcgiwrap/default.nix index 84c24e684786..a1ec3a7deb08 100644 --- a/pkgs/servers/fcgiwrap/default.nix +++ b/pkgs/servers/fcgiwrap/default.nix @@ -9,6 +9,7 @@ stdenv.mkDerivation rec { sha256 = "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"; }; + NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough"; configureFlags = [ "--with-systemd" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ]; -- cgit 1.4.1