Making mupdf build in 'release', not 'debug'.

This commit is contained in:
Lluís Batlle i Rossell 2013-11-05 14:44:54 +01:00
parent aa0f21e621
commit cadd213230

View File

@ -10,8 +10,10 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
enableParallelBuilding = true;
preBuild = ''
export makeFlags="prefix=$out"
export makeFlags="prefix=$out build=release"
export NIX_CFLAGS_COMPILE=" $NIX_CFLAGS_COMPILE -I$(echo ${openjpeg}/include/openjpeg-*) "
'';