[postgis-tickets] [PostGIS] #3037: Sort out CFLAGS differences in raster/rt_pg and liblwgeom/

PostGIS trac at osgeo.org
Tue Oct 17 14:10:08 PDT 2017


#3037: Sort out CFLAGS differences in raster/rt_pg and liblwgeom/
------------------------------------+-----------------------------
  Reporter:  strk                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS Fund Me
 Component:  build/upgrade/install  |    Version:  trunk
Resolution:                         |   Keywords:
------------------------------------+-----------------------------

Comment (by strk):

 pramsey: it looks like you're right, this is a consequence of PGXS driving
 the flags !
 Today for example, on a new system, I have different flags:
 {{{
 gcc "-I../../liblwgeom"  -fPIC -I/usr/local/include
 -I/usr/include/libxml2     -I/usr/local/include "-I../../libpgcommon"
 -I../rt_core -I. -I./ -I/usr/include/postgresql/9.6/server
 -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2
 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.6  -c -o
 rtpg_create.o rtpg_create.c
 }}}

 I'm not sure what we want to do about this, if anything.
 Should we extract PGXS flags once from ./configure and use ours always?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3037#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list