dirac: fix build with gcc6
This commit is contained in:
parent
3bc2154f99
commit
87d85c1d27
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./dirac-1.0.2.patch ];
|
patches = [ ./dirac-1.0.2.patch ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# keep only necessary binaries
|
# keep only necessary binaries
|
||||||
find $out/bin \( -name '*RGB*' -or -name '*YUV*' -or -name create_dirac_testfile.pl \) -delete
|
find $out/bin \( -name '*RGB*' -or -name '*YUV*' -or -name create_dirac_testfile.pl \) -delete
|
||||||
|
|
Loading…
Reference in a new issue