summary refs log tree commit diff
diff options
context:
space:
mode:
authordramforever <dramforever@live.com>2023-02-27 22:30:25 +0800
committerdramforever <dramforever@live.com>2023-02-28 12:50:32 +0800
commitf393974f54f1f751e7b9b12cda9e0f905c0caaac (patch)
tree2ea93689e15ff1897f349994567c6d86ec43301c
parentb0c4b7f933783a9af1664c834b4c732688111b73 (diff)
downloadnixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar.gz
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar.bz2
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar.lz
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar.xz
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.tar.zst
nixpkgs-f393974f54f1f751e7b9b12cda9e0f905c0caaac.zip
libomxil-bellagio: Fix -Wstringop-truncation for GCC 12
-rw-r--r--pkgs/development/libraries/libomxil-bellagio/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libomxil-bellagio/default.nix b/pkgs/development/libraries/libomxil-bellagio/default.nix
index 3cfec00b132..02f60d1854f 100644
--- a/pkgs/development/libraries/libomxil-bellagio/default.nix
+++ b/pkgs/development/libraries/libomxil-bellagio/default.nix
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
   doCheck = false; # fails
 
   env.NIX_CFLAGS_COMPILE =
-    if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8"
+    if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8 -Wno-error=stringop-truncation"
     else "-Wno-error=absolute-value -Wno-error=enum-conversion -Wno-error=logical-not-parentheses -Wno-error=non-literal-null-conversion";
 
   meta = with lib; {