mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:27:37 +00:00
Merge #218627: libomxil-bellagio: Fix -Wstringop-truncation
This commit is contained in:
commit
1ca0b68230
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user