summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.cygwin
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2019-04-09 08:25:39 -0700
committerNoah Misch <noah@leadboat.com>2019-04-09 08:25:43 -0700
commit292e2000e19c5a38fd901b4764e26c638edeac11 (patch)
tree268ee4c89f9255d3b3589500a4f000269b2a66a0 /src/makefiles/Makefile.cygwin
parent7a5677818556a2d3ab02a536c01955e90ddc1ea9 (diff)
Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds.
The MSVC build system already did this, and commit 617dc6d299c957e2784320382b3277ede01d9c63 used it in a second file. Back-patch to 9.4, like that commit. Discussion: https://postgr.es/m/CAA8=A7_1SWc3+3Z=-utQrQFOtrj_DeohRVt7diA2tZozxsyUOQ@mail.gmail.com
Diffstat (limited to 'src/makefiles/Makefile.cygwin')
-rw-r--r--src/makefiles/Makefile.cygwin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin
index bb2efed3ce5..2d57b4b0891 100644
--- a/src/makefiles/Makefile.cygwin
+++ b/src/makefiles/Makefile.cygwin
@@ -14,6 +14,8 @@ AROPT = crs
DLSUFFIX = .dll
CFLAGS_SL =
+override CPPFLAGS += -DWIN32_STACK_RLIMIT=$(WIN32_STACK_RLIMIT)
+
ifneq (,$(findstring backend,$(subdir)))
ifeq (,$(findstring conversion_procs,$(subdir)))
ifeq (,$(findstring snowball,$(subdir)))