shithub: jbig2

Download patch

ref: 47bd82353ae27eb2c53e7253c39b70ef2e147ab2
parent: 20e5cd8ca494d3e715bcc38701cfd5923225415d
author: Ralph Giles <giles@ghostscript.com>
date: Wed Oct 28 08:07:19 EDT 2009

Build optimized with debugging symbols and all warnings under jam.

Previously we used the default rules which are just 'cc'. This aligns
the behaviour with the other builds and lets of take advantage of jam's
cleaner output to see warnings more easily.

--- a/Jamfile
+++ b/Jamfile
@@ -5,9 +5,12 @@
 
 include $(HOME)/.jamrules ;
 
+OPTIM = -g -O2 ;
+CCFLAGS = -Wall ;
+
 # assume stdint.h and libpng are available, except on win32
 if $(OS) != NT {
-  CCFLAGS += -DHAVE_STDINT_H -DHAVE_LIBPNG ;
+  CCFLAGS += -Wall -DHAVE_STDINT_H -DHAVE_LIBPNG ;
   LINKLIBS += -lpng -lz ;
   Library libjbig2dec : jbig2_image_png.c ;
 }