Skip to content

Commit

Permalink
libomxil-bellagio: fix build on gcc8
Browse files Browse the repository at this point in the history
Added the `-Wno-error=array-bounds` flag. Fixes NixOS#40213.
  • Loading branch information
adrianpk committed May 9, 2018
1 parent 2358ad3 commit 7fc0360
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/libomxil-bellagio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 7fc0360

Please sign in to comment.