[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-7-g40e2a6f

git at osgeo.org git at osgeo.org
Fri Mar 6 05:15:15 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.0 has been updated
       via  40e2a6f3b1e177b8bc2ff077bb463867e5af0e8a (commit)
      from  5a5c2bcfe96699c0a9a248a566e18556235e35f1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 40e2a6f3b1e177b8bc2ff077bb463867e5af0e8a
Author: Raúl Marín <git at rmr.ninja>
Date:   Fri Mar 6 14:12:55 2020 +0100

    Backport raster cunit Makefile changes

diff --git a/raster/test/cunit/Makefile.in b/raster/test/cunit/Makefile.in
index 6571386..ed37d1d 100644
--- a/raster/test/cunit/Makefile.in
+++ b/raster/test/cunit/Makefile.in
@@ -24,18 +24,21 @@ PROJ_CFLAGS=@PROJ_CPPFLAGS@
 PROJ_LDFLAGS=@PROJ_LDFLAGS@
 GEOS_CFLAGS=@GEOS_CPPFLAGS@
 GEOS_LDFLAGS=@GEOS_LDFLAGS@
+CUNIT_LDFLAGS=@CUNIT_LDFLAGS@
 
 RTCORE_CFLAGS=-I$(RT_CORE)
 RTCORE_LDFLAGS=$(RT_CORE)/librtcore.a
 
 CC=@CC@
 CFLAGS = \
+	-I.. \
 	$(LIBLWGEOM_CFLAGS) \
 	$(RTCORE_CFLAGS) \
 	$(PROJ_CFLAGS) \
 	$(LIBGDAL_CFLAGS) \
 	$(GEOS_CFLAGS) \
-	@WARNFLAGS@ @CFLAGS@ \
+	@CUNIT_CPPFLAGS@ \
+	@WARNFLAGS@ @CFLAGS@
 
 LDFLAGS = \
 	$(RTCORE_LDFLAGS) \
@@ -43,10 +46,8 @@ LDFLAGS = \
 	$(LIBGDAL_LDFLAGS) \
 	$(GEOS_LDFLAGS) \
 	$(PROJ_LDFLAGS) \
-	-lm \
+	-lm
 
-CUNIT_LDFLAGS=@CUNIT_LDFLAGS@
-CUNIT_CPPFLAGS=-I.. @CUNIT_CPPFLAGS@
 
 # ADD YOUR NEW TEST FILE HERE (1/1)
 OBJS=	\
@@ -85,7 +86,7 @@ cu_tester: $(RT_CORE)/librtcore.a $(OBJS)
 
 # Command to build each of the .o files
 $(OBJS): %.o: %.c
-	$(CC) $(CUNIT_CPPFLAGS) $(CFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) -c -o $@ $<
 
 $(RT_CORE)/librtcore.a:
 	$(MAKE) -C ../../rt_core

-----------------------------------------------------------------------

Summary of changes:
 raster/test/cunit/Makefile.in | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list