about summary refs log tree commit diff
path: root/pkgs/development/libraries/bzrtp
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-02-01 16:54:07 +0100
committerVladimír Čunát <v@cunat.cz>2023-02-01 16:54:44 +0100
commit9287f4461d0804c0594c1f458be1997b30c54d02 (patch)
treecbc8e725ceb9b70b23004af76ecee8c1aa98ccbc /pkgs/development/libraries/bzrtp
parentbaa1d98ce747ee8c9aa7b04ab32069238bfdd9a7 (diff)
parent6930b5bda8431f2cdb12fecdb26d9d12bec7c4cf (diff)
Merge #206907: stdenv: gcc11 -> gcc12
Diffstat (limited to 'pkgs/development/libraries/bzrtp')
-rw-r--r--pkgs/development/libraries/bzrtp/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/bzrtp/default.nix b/pkgs/development/libraries/bzrtp/default.nix
index 4bccc0c5cf2fa..5791924ad14a9 100644
--- a/pkgs/development/libraries/bzrtp/default.nix
+++ b/pkgs/development/libraries/bzrtp/default.nix
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
   # Do not build static libraries
   cmakeFlags = [ "-DENABLE_STATIC=NO" "-DCMAKE_C_FLAGS=-Wno-error=cast-function-type" ];
 
+  NIX_CFLAGS_COMPILE = [
+    # Needed with GCC 12
+    "-Wno-error=stringop-overflow"
+  ];
+
   meta = with lib; {
     description = "An opensource implementation of ZRTP keys exchange protocol. Part of the Linphone project.";
     homepage = "https://gitlab.linphone.org/BC/public/bzrtp";