belle-sip: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 07:48:36 +01:00
parent 9e356398bc
commit 6d4be41ed6
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
NIX_CFLAGS_COMPILE = [
"-Wno-error=deprecated-declarations"
"-Wno-error=format-truncation"
"-Wno-error=cast-function-type"
];
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
@ -26,7 +30,8 @@ stdenv.mkDerivation rec {
"--with-polarssl=${polarssl}"
];
enableParallelBuilding = true;
# Fails to build with lots of parallel jobs
enableParallelBuilding = false;
meta = with stdenv.lib; {
homepage = http://www.linphone.org/index.php/eng;