summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorU-windows7\wbx <wbx@windows7.(none)>2009-12-19 20:39:01 +0100
committerU-windows7\wbx <wbx@windows7.(none)>2009-12-19 20:39:01 +0100
commitc58c1d4555c199939496713f231e45598b4d8ba7 (patch)
tree8133d7e70c093312d50e07c68af63a6b10e3a1e9 /Makefile
parentd6351c4a4cbc08c4e919ea55750a0efe02f2b743 (diff)
cygwin support refresh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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 ;\