]> granicus.if.org Git - postgresql/commitdiff
Fix order of ICU_CFLAGS
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 10 Aug 2017 00:28:49 +0000 (20:28 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 11 Aug 2017 02:14:00 +0000 (22:14 -0400)
It must be before CPPFLAGS so that an ICU installation in a nonstandard
path can take precedence over one in the system path.

src/Makefile.global.in

index 0d3f8ca9504b6d1b4934ceb9bcd5fe8d6817f1e0..a26075c06e48c36b41f1aa411c5df60fdf9fab3c 100644 (file)
@@ -232,7 +232,7 @@ PTHREAD_LIBS                = @PTHREAD_LIBS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 
-override CPPFLAGS := $(CPPFLAGS) $(ICU_CFLAGS)
+override CPPFLAGS := $(ICU_CFLAGS) $(CPPFLAGS)
 
 ifdef PGXS
 override CPPFLAGS := -I$(includedir_server) -I$(includedir_internal) $(CPPFLAGS)