libomxil-bellagio: fix build on gcc8

Added the `-Wno-error=array-bounds` flag. Fixes #40213.
This commit is contained in:
Patrick Hilhorst 2018-05-09 17:00:06 +02:00 committed by Robin Gloster
parent 2da936e61f
commit c10842fe0b

View File

@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
patches = [ ./fedora-fixes.patch ];
# 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";
meta = with stdenv.lib; {
homepage = https://sourceforge.net/projects/omxil/;
description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";