[postgis-tickets] [PostGIS] #4318: Stop passing `-fPIC` manually

PostGIS trac at osgeo.org
Mon Feb 4 10:48:42 PST 2019


#4318: Stop passing `-fPIC` manually
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  medium      |  Milestone:  PostGIS 3.0.0
Component:  postgis     |    Version:  trunk
 Keywords:              |
------------------------+---------------------------
 `postgis/Makefile.in` and `topology/Makefile.in` are manually setting
 `-fPIC` in the CFLAGS. Instead they should be using `@PICFLAGS@` which is
 populated during `./configure`.

 For example, in my system `PICFLAGS` is set to `-fPIC -DPIC` (which
 doesn't have any impact in Postgis) but in other platforms the flags can
 be different.

 I also wonder if it's still needed if we keep the behaviour of building
 everything statically.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4318>
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