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
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -34,7 +34,11 @@ stdenv.mkDerivation rec {
openssl
];
NIX_CFLAGS_COMPILE = " -DGIT_VERSION=\"v2.14.0\" -Wno-error=deprecated-declarations ";
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; {