From c58c1d4555c199939496713f231e45598b4d8ba7 Mon Sep 17 00:00:00 2001 From: "U-windows7\\wbx" Date: Sat, 19 Dec 2009 20:39:01 +0100 Subject: cygwin support refresh --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6a5609fd2..e5d0280dd 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ CC?= gcc GMAKE?= $(PWD)/scripts/make GMAKE_FMK= ${GMAKE} -f $(PWD)/mk/build.mk GMAKE_INV= ${GMAKE_FMK} --no-print-directory -_UNLIMIT= ulimit -dS $$(ulimit -dH); + +_UNLIMIT= ulimit -dS $$(ulimit -dH 2>/dev/null ) 2>/dev/null; all: .prereq_done @${_UNLIMIT} ${GMAKE_INV} all @@ -160,7 +161,7 @@ NO_ERROR=0 fi @echo "TOPDIR:=$$(readlink -nf . 2>/dev/null || pwd -P)" >prereq.mk @echo "BASH:=$$(which bash)" >>prereq.mk - @if [ -z "$$(which gmake)" ]; then \ + @if [ -z "$$(which gmake 2>/dev/null )" ]; then \ echo "GMAKE:=$$(which make)" >>prereq.mk ;\ else \ echo "GMAKE:=$$(which gmake)" >>prereq.mk ;\ -- cgit v1.2.3