[postgis-tickets] r16544 - Postgis module: Pass CFLAGS to PGXS

Raul raul at rmr.ninja
Tue Apr 17 02:02:22 PDT 2018


Author: algunenano
Date: 2018-04-17 02:02:22 -0700 (Tue, 17 Apr 2018)
New Revision: 16544

Modified:
   trunk/.gitignore
   trunk/postgis/Makefile.in
Log:
Postgis module: Pass CFLAGS to PGXS

References #4060


Modified: trunk/.gitignore
===================================================================
--- trunk/.gitignore	2018-04-16 17:28:27 UTC (rev 16543)
+++ trunk/.gitignore	2018-04-17 09:02:22 UTC (rev 16544)
@@ -172,3 +172,7 @@
 *.pdf
 .idea/*
 .syntastic_c_config
+
+# LLVM JIT
+*.bc
+*.ll

Modified: trunk/postgis/Makefile.in
===================================================================
--- trunk/postgis/Makefile.in	2018-04-16 17:28:27 UTC (rev 16543)
+++ trunk/postgis/Makefile.in	2018-04-17 09:02:22 UTC (rev 16544)
@@ -119,8 +119,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@
-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



More information about the postgis-tickets mailing list