summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2017-08-10 00:28:49 +0000
committerPeter Eisentraut2017-08-11 02:14:00 +0000
commitb83e54564ad0733f5382b20c04695ee9fb4cf451 (patch)
tree2be5e28ed32996d7e5510bf2355263563ca7f1ff
parentbb5d6e80b1387f0de58e55ac8e882f68ec6d4fcf (diff)
Fix order of ICU_CFLAGS
It must be before CPPFLAGS so that an ICU installation in a nonstandard path can take precedence over one in the system path.
-rw-r--r--src/Makefile.global.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 0d3f8ca9504..a26075c06e4 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -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)