Commit 68fc1fec authored by Raúl Marín Rodríguez's avatar Raúl Marín Rodríguez
Browse files

Postgis module: Pass CFLAGS to PGXS

References #4060


git-svn-id: http://svn.osgeo.org/postgis/trunk@16544 b70326c6-7e19-0410-871a-916f4a2858ee
parent ff4e2443
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -172,3 +172,7 @@ postgis/uninstall_sfcgal.sql
*.pdf
.idea/*
.syntastic_c_config

# LLVM JIT
*.bc
*.ll
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,7 @@ OBJS=$(PG_OBJS)
# 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@
PG_CPPFLAGS += -I../libpgcommon @CPPFLAGS@ -fPIC
PG_CPPFLAGS += -I../liblwgeom @CFLAGS@ -I../libpgcommon @CPPFLAGS@ -fPIC
SHLIB_LINK_F = ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a @SHLIB_LINK@

# Add SFCGAL Flags if defined