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.
# 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