From 773f5cc8cb78ca94588848d86c137cd5d46fe794 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 8 May 2008 17:11:41 +0000
Subject: [PATCH] Fix contrib/xml2 makefile to not override CFLAGS.

---
 contrib/xml2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile
index dcaf68698d..a6448e6534 100644
--- a/contrib/xml2/Makefile
+++ b/contrib/xml2/Makefile
@@ -11,7 +11,7 @@ SHLIB_LINK = -lxslt -lxml2
 DATA_built = pgxml.sql
 DOCS = README.xml2
 
-override CFLAGS += $(shell xml2-config --cflags)
+PG_CPPFLAGS := $(shell xml2-config --cflags)
 
 ifdef USE_PGXS
 PGXS := $(shell pg_config --pgxs)
-- 
2.40.0