mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
libomxil-bellagio: fix build with clang
This commit is contained in:
parent
920a4e1340
commit
d2952f9386
@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false; # fails
|
||||
|
||||
# Fix for #40213, probably permanent, because upstream doesn't seem to be
|
||||
# developed anymore. Alternatively, gcc7Stdenv could be used.
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8";
|
||||
NIX_CFLAGS_COMPILE =
|
||||
if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8"
|
||||
else "-Wno-error=absolute-value -Wno-error=enum-conversion -Wno-error=logical-not-parentheses -Wno-error=non-literal-null-conversion";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://omxil.sourceforge.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user