From: Matthew Vernon Date: Mon, 4 Dec 2017 05:26:39 +0000 (+0000) Subject: Correctly increase stack limit X-Git-Tag: archive/debian/2%8.39-8~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=commitdiff_plain;h=6b73f9b4137716429eaae6b852c18eeec5e89837;p=pcre3.git Correctly increase stack limit We want the increased stack size to apply to the make check step (running it by itself doesn't achieve anything); also ignore a permission error (which we get on freebsd) - if the tests succeed it doesn't matter. --- diff --git a/debian/rules b/debian/rules index 3b705e1..aa65429 100755 --- a/debian/rules +++ b/debian/rules @@ -53,8 +53,9 @@ build-stamp: configure-stamp # Add here commands to compile the package. $(MAKE) $(NJOBS) ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) - ulimit -s unlimited - $(MAKE) check VERBOSE=1 + #ulimit returns EPERM on the freebsd buildds, but that's OK + #as stack limit increase only really necessary on s390 + ulimit -s unlimited || true ; $(MAKE) check VERBOSE=1 endif touch build-stamp