Skip to content
Commits on Source (2)
......@@ -4,3 +4,9 @@ include:
variables:
RELEASE: 'unstable'
# disable reprotest until clang understands -ffile-prefix-map
reprotest:
only:
variables:
- $FALSE
......@@ -2,6 +2,9 @@ postgis (3.0.0~alpha3+dfsg-1~exp2) UNRELEASED; urgency=medium
[ Christoph Berg ]
* debian/tests/control: Tests don't need root, but support running as root.
* debian/.gitlab-ci.yml: Disable reprotest until clang understands
-ffile-prefix-map.
* Add CPPFLAGS where missing. Spotted by blhc.
[ Bas Couwenberg ]
* Update gbp.conf to use --source-only-changes by default.
......
Description: Add CPPFLAGS where missing. Spotted by blhc.
--- a/libpgcommon/Makefile.in
+++ b/libpgcommon/Makefile.in
@@ -58,7 +58,7 @@ check: libpgcommon.a
# Command to build each of the .o files
$(SA_OBJS): %.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
$(SA_OBJS): ../postgis_config.h
--- a/loader/Makefile.in
+++ b/loader/Makefile.in
@@ -88,13 +88,13 @@ $(LIBLWGEOM):
$(MAKE) -C ../liblwgeom
shp2pgsql-core.o: shp2pgsql-core.c shp2pgsql-core.h shpcommon.h
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
pgsql2shp-core.o: pgsql2shp-core.c pgsql2shp-core.h shpcommon.h
- $(CC) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $<
pgsql2shp-cli.o: pgsql2shp-cli.c pgsql2shp-core.h shpcommon.h
- $(CC) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(PGSQL_FE_CPPFLAGS) -c $<
$(PGSQL2SHP-CLI): $(SHPLIB_OBJS) pgsql2shp-core.o pgsql2shp-cli.o $(LIBLWGEOM)
$(LIBTOOL) --mode=link \
@@ -105,7 +105,7 @@ $(SHP2PGSQL-CLI): $(SHPLIB_OBJS) shp2pgs
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(GETTEXT_LDFLAGS) $(ICONV_LDFLAGS)
shp2pgsql-gui.o: shp2pgsql-gui.c shp2pgsql-core.h shpcommon.h
- $(CC) $(CFLAGS) $(GTK_CFLAGS) $(PGSQL_FE_CPPFLAGS) -o $@ -c shp2pgsql-gui.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(GTK_CFLAGS) $(PGSQL_FE_CPPFLAGS) -o $@ -c shp2pgsql-gui.c
$(SHP2PGSQL-GUI): $(SHPLIB_OBJS) shp2pgsql-core.o shp2pgsql-gui.o pgsql2shp-core.o $(LIBLWGEOM) $(GTK_WIN32_RES)
$(LIBTOOL) --mode=link \
--- a/raster/loader/Makefile.in
+++ b/raster/loader/Makefile.in
@@ -79,7 +79,7 @@ LDFLAGS = \
all: $(RASTER2PGSQL)
raster2pgsql.o: raster2pgsql.c
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
$(RASTER2PGSQL): $(RT_CORE)/librtcore.a raster2pgsql.o
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
relax-test-timing-constraints.patch
cppflags