[postgis-devel] No CFLAGS in postgis/Makefile.in

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu May 17 06:47:51 PDT 2012


On 17/05/12 14:21, Paul Ramsey wrote:

> As discussed on IRC, both intentional and not new. We inherit our
> build flags from PostgreSQL with PGXS. If you want debug, configure
> your PostgreSQL with --enable-debug, then reconfigure your PostGIS.
>
> P.
>
> On Thu, May 17, 2012 at 3:01 PM, Sandro Santilli<strk at keybit.net>  wrote:
>> I've noticed, by reading valgrind reports, that while code in liblwgeom/
>> contains debugging symbols the code in postgis/ does not.
>>
>> Indeed there's no "-g" in the build line, nor any CFLAGS defined
>> in postgis/Makefile.in. Is that intentional ? Is that new ?

Indeed. And of course this won't be a problem because all PostGIS 
developers are working against a copy of PostgreSQL built with 
--enable-debug and --enable-cassert to catch memory overflows during 
development, right? ;)


ATB,

Mark.



More information about the postgis-devel mailing list