summary refs log tree commit diff
path: root/pkgs/development/libraries/mediastreamer
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-01-11 14:39:44 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2019-06-17 07:25:57 +0200
commit10798b71525fb608811bd311d27dd76edab126b7 (patch)
tree778edc4a919ca9d50bc682242246774496c16329 /pkgs/development/libraries/mediastreamer
parentf411a31264bda3b044b33ec93699a713bfaff53b (diff)
downloadnixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar.gz
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar.bz2
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar.lz
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar.xz
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.tar.zst
nixpkgs-10798b71525fb608811bd311d27dd76edab126b7.zip
mediastreamer2: fix build with gcc8
Diffstat (limited to 'pkgs/development/libraries/mediastreamer')
-rw-r--r--pkgs/development/libraries/mediastreamer/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix
index 4b69d5d0aaf..05494d1ad1a 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";