Opened 6 years ago
Closed 6 years ago
#4318 closed defect (fixed)
Stop passing libraries manually
Reported by: | Algunenano | Owned by: | Algunenano |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Summary: | Stop passing `-fPIC` manually → Stop passing libraries manually |
Note:
See TracTickets
for help on using tickets.
In different points of the build system we are passing
fPIC
-lgeos-c
orlproj
. This should be handled only using the flags producing in theconfigure
step.