diff options
author | Robin Gloster <mail@glob.in> | 2019-01-11 14:39:44 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-06-17 07:25:57 +0200 |
commit | 10798b71525fb608811bd311d27dd76edab126b7 (patch) | |
tree | 778edc4a919ca9d50bc682242246774496c16329 /pkgs | |
parent | f411a31264bda3b044b33ec93699a713bfaff53b (diff) | |
download | nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar.gz nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar.bz2 nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar.lz nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar.xz nixlib-10798b71525fb608811bd311d27dd76edab126b7.tar.zst nixlib-10798b71525fb608811bd311d27dd76edab126b7.zip |
mediastreamer2: fix build with gcc8
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/mediastreamer/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
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"; |