k2pdfopt: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-11 01:35:33 +00:00
parent 76ee9e0f46
commit 7517563efb

View file

@ -31,6 +31,8 @@ in stdenv.mkDerivation rec {
openjpeg freetype jbig2dec djvulibre openssl ];
NIX_LDFLAGS = "-lX11 -lXext";
hardening_format = false;
k2_pa = ./k2pdfopt.patch;
tess_pa = ./tesseract.patch;
@ -96,7 +98,7 @@ in stdenv.mkDerivation rec {
-ljbig2dec -ljpeg -lopenjp2 -lpng -lfreetype -lpthread -lmujs \
-lPgm2asc -llept -ltesseract -lcrypto
mkdir -p $out/bin
mkdir -p $out/bin
cp k2pdfopt $out/bin
'';