mediastreamer2: fix build with gcc8

This commit is contained in:
Robin Gloster
2019-01-11 14:39:44 +01:00
committed by Franz Pletz
parent f411a31264
commit 10798b7152

View File

@@ -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";