summaryrefslogtreecommitdiff
path: root/src/backend/common.mk
diff options
context:
space:
mode:
authorPeter Eisentraut2017-06-12 19:57:22 +0000
committerPeter Eisentraut2017-06-12 19:57:22 +0000
commit94c2ed0ebe005aa6389b02a61e3c16d08035299c (patch)
tree2988263b6bb31a070d487d333cc6c1420497e589 /src/backend/common.mk
parent7f28a7946a37e1716fe12c9e8466dbb868292087 (diff)
Add ICU_CFLAGS to global CPPFLAGS
The original code only added ICU_CFLAGS to the backend build. But it is also needed for building external modules that include pg_locale.h. So add it to the global CPPFLAGS. (This is only relevant if ICU is not in a compiler default path, so it apparently hasn't bitten many.)
Diffstat (limited to 'src/backend/common.mk')
-rw-r--r--src/backend/common.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/common.mk b/src/backend/common.mk
index 0b57543bc4a..5d599dbd0ca 100644
--- a/src/backend/common.mk
+++ b/src/backend/common.mk
@@ -8,8 +8,6 @@
# this directory and SUBDIRS to subdirectories containing more things
# to build.
-override CPPFLAGS := $(CPPFLAGS) $(ICU_CFLAGS)
-
ifdef PARTIAL_LINKING
# old style: linking using SUBSYS.o
subsysfilename = SUBSYS.o