[postgis-devel] pgxs cflags override

Regina Obe lr at pcorp.us
Tue Oct 17 13:07:15 PDT 2017

Looks like it got changed by  Greg's patch






From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Tuesday, October 17, 2017 3:46 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: [postgis-devel] pgxs cflags override


So, I found today I couldn't debug into a portion of postgis, because it was building w/o debugging flags. Which was odd, since I force -g into everything at configure time, and use --debug everywhere.


The cflags in ./postgis are supposed to get inherited from pg_config of the pgsql one is building againt, but I found an over-ride on them.


The attached patch fixes the problem, for me, (moving the include into the "correct" pgxs variable and leaving the cflags un-overridden) but it's one of those deep voodoo build things that makes we want to know: does anyone remember why this is the way it is? 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20171017/9a73f011/attachment.html>

More information about the postgis-devel mailing list