ucl: modify cflags so gcc6 compiles successfully

This commit is contained in:
Cray Elliott 2017-08-15 00:15:48 -07:00 committed by Franz Pletz
parent a1bb61312c
commit ceed8ad8a1

View File

@ -7,6 +7,9 @@ stdenv.mkDerivation {
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
};
# needed to successfully compile with gcc 6
NIX_CFLAGS_COMPILE = "-std=c90 -fPIC";
meta = {
homepage = http://www.oberhumer.com/opensource/ucl/;
description = "Portable lossless data compression library";