Description: Add CPPFLAGS missing in libpgcommon directory Makefile
Forwarded: https://trac.osgeo.org/postgis/ticket/4592
Author: Christoph Berg <myon@debian.org>
Applied-Upstream: 3.1

--- a/libpgcommon/Makefile.in
+++ b/libpgcommon/Makefile.in
@@ -62,7 +62,7 @@ check-unit: 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
 
