mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user