From 10798b71525fb608811bd311d27dd76edab126b7 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Fri, 11 Jan 2019 14:39:44 +0100 Subject: mediastreamer2: fix build with gcc8 --- pkgs/development/libraries/mediastreamer/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/development') diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix index 4b69d5d0aafe..05494d1ad1a7 100644 --- a/pkgs/development/libraries/mediastreamer/default.nix +++ b/pkgs/development/libraries/mediastreamer/default.nix @@ -34,8 +34,12 @@ stdenv.mkDerivation rec { openssl ]; - NIX_CFLAGS_COMPILE = " -DGIT_VERSION=\"v2.14.0\" -Wno-error=deprecated-declarations "; - NIX_LDFLAGS = " -lXext -lssl "; + NIX_CFLAGS_COMPILE = [ + "-DGIT_VERSION=\"v2.14.0\"" + "-Wno-error=deprecated-declarations" + "-Wno-error=cast-function-type" + ]; + NIX_LDFLAGS = "-lXext -lssl"; meta = with stdenv.lib; { description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications"; -- cgit 1.4.1