From 6d4be41ed6fd1a62df1d3845a915fe3761fdf18e Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Fri, 11 Jan 2019 07:48:36 +0100 Subject: belle-sip: fix build with gcc8 --- pkgs/development/libraries/belle-sip/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pkgs/development') diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix index 09ca4908d789..9c124a62601b 100644 --- a/pkgs/development/libraries/belle-sip/default.nix +++ b/pkgs/development/libraries/belle-sip/default.nix @@ -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; -- cgit 1.4.1