Merge #218627: libomxil-bellagio: Fix -Wstringop-truncation

This commit is contained in:
Vladimír Čunát 2023-03-22 12:45:05 +01:00
commit 1ca0b68230
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
doCheck = false; # fails
env.NIX_CFLAGS_COMPILE =
if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8"
# stringop-truncation: see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028978
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; {