From 44136f93896505f2f0b367ae9bd1422350192419 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 19 Dec 2009 17:08:09 +0100 Subject: finetune ulimit setting, fix problem on CygWin --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 09c109fac..6a5609fd2 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,15 @@ CC?= gcc GMAKE?= $(PWD)/scripts/make GMAKE_FMK= ${GMAKE} -f $(PWD)/mk/build.mk -GMAKE_INV= ulimit -dS $$(ulimit -dH); ${GMAKE_FMK} --no-print-directory +GMAKE_INV= ${GMAKE_FMK} --no-print-directory +_UNLIMIT= ulimit -dS $$(ulimit -dH); all: .prereq_done - @${GMAKE_INV} all + @${_UNLIMIT} ${GMAKE_INV} all v: .prereq_done @(echo; echo "Build started on $$(LC_ALL=C LANGUAGE=C date)"; \ - set -x; ${GMAKE_FMK} VERBOSE=1 all) 2>&1 | tee -a make.log + set -x; ${_UNLIMIT} ${GMAKE_FMK} VERBOSE=1 all) 2>&1 | tee -a make.log help: @echo 'Common targets:' -- cgit v1.2.3