[postgis-tickets] r16002 - Allow ./configure to set debug flag on module build

Paul Ramsey pramsey at cleverelephant.ca
Tue Oct 17 13:37:35 PDT 2017


Author: pramsey
Date: 2017-10-17 13:37:34 -0700 (Tue, 17 Oct 2017)
New Revision: 16002

Modified:
   trunk/postgis/Makefile.in
Log:
Allow ./configure to set debug flag on module build
that is otherwise over-ridden by pgxs hack 
References #3604


Modified: trunk/postgis/Makefile.in
===================================================================
--- trunk/postgis/Makefile.in	2017-10-17 18:23:22 UTC (rev 16001)
+++ trunk/postgis/Makefile.in	2017-10-17 20:37:34 UTC (rev 16002)
@@ -118,7 +118,7 @@
 # to an existing liblwgeom.so in the PostgreSQL $libdir supplied by an
 # older version of PostGIS, rather than with the static liblwgeom.a
 # supplied with newer versions of PostGIS
-override CFLAGS := -I../liblwgeom $(CFLAGS)
+override CFLAGS := -I../liblwgeom @CFLAGS@
 PG_CPPFLAGS += -I../libpgcommon @CPPFLAGS@ -fPIC
 SHLIB_LINK_F = ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a @SHLIB_LINK@
 



More information about the postgis-tickets mailing list