summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-05-01 22:16:58 -0400
committerPeter Eisentraut <peter_e@gmx.net>2015-05-01 22:16:58 -0400
commit0fd764647a9910a340359bb319929b70317b2ae4 (patch)
tree1ff5f734e7ad80bc1dc83284c5298decdde9e3c0 /src
parentd664a10f9623fd2198b257e513bce849d439a773 (diff)
Make hstore_plperl's build even more like plperl's
Combine the two places that set CPPFLAGS into one. Also, some settings should be restricted to Windows only. More precisely, -Wno-comment is a GCC-only option, but Windows in a makefile implies GCC at the moment. Also, since -Wno-comment is more properly a preprocessor option, move it to CPPFLAGS to simplify things a bit.
Diffstat (limited to 'src')
-rw-r--r--src/pl/plperl/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile
index 6e1377b53de..b8e35852544 100644
--- a/src/pl/plperl/GNUmakefile
+++ b/src/pl/plperl/GNUmakefile
@@ -9,7 +9,7 @@ ifeq ($(PORTNAME), win32)
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
# Perl on win32 contains /* within comment all over the header file,
# so disable this warning.
-override CFLAGS += -Wno-comment
+override CPPFLAGS += -Wno-comment
endif
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE