summary refs log tree commit diff
path: root/pkgs/development/libraries/bzrtp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/bzrtp/default.nix')
-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 3a6ef0e3562..7576d4706ea 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";