Making mupdf build in 'release', not 'debug'.
This commit is contained in:
parent
aa0f21e621
commit
cadd213230
@ -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-*) "
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user