belle-sip: fix build with gcc8
This commit is contained in:
parent
9e356398bc
commit
6d4be41ed6
|
@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ zlib ];
|
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 ];
|
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
|
||||||
|
|
||||||
|
@ -26,7 +30,8 @@ stdenv.mkDerivation rec {
|
||||||
"--with-polarssl=${polarssl}"
|
"--with-polarssl=${polarssl}"
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
# Fails to build with lots of parallel jobs
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.linphone.org/index.php/eng;
|
homepage = http://www.linphone.org/index.php/eng;
|
||||||
|
|
Loading…
Reference in New Issue