From 9760c65efe0b87f419e4280eb37c934a7313c4e3 Mon Sep 17 00:00:00 2001 From: malc Date: Mon, 28 Jul 2014 20:55:47 +0400 Subject: [PATCH] Add debugging --- build.ninja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.ninja b/build.ninja index 6718d3e..0cc3b9e 100644 --- a/build.ninja +++ b/build.ninja @@ -2,7 +2,7 @@ cc = gcc include .config ocamlc = ocamlc.opt ocaml = ocamlc.opt -ocamlflags = -g -w a -I $builddir +ocamlflags = -w a -I $builddir libs = -lmupdf $mujs -lpthread -L$mupdf/build/$buildtype cflags =$cflags -Wall -Werror -I$mupdf/include -I$freetype $ @@ -28,7 +28,7 @@ sedcmd = sed -f $srcdir/pp.sed build $builddir/help.ml: genhelp build $builddir/link.o: cc $srcdir/link.c cflags = $cflags -D_GNU_SOURCE -DOBSCURED_OPT -DFFP $ - -DUSE_FONTCONFIG -g + -DUSE_FONTCONFIGg build $builddir/help.cmo: helpcmo | $builddir/help.ml build $builddir/utils.cmo: ocamlc $srcdir/utils.ml build $builddir/bo.cmo: ocamlc $srcdir/le/bo.ml @@ -55,7 +55,7 @@ rule linkso build $builddir/link.so: linkso $builddir/link.o rule link - command = $ocaml -custom -g $ + command = $ocaml -custom $ -cclib "$builddir/link.so $lflags" $ -o $out -I +lablGL str.cma unix.cma lablgl.cma $cmos -- 2.11.4.GIT