summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-26 13:38:30 +0000
committerIan Lynagh <igloo@earth.li>2007-08-26 13:38:30 +0000
commited5cbfcb0a4c62e755bd23ec70475deda5899634 (patch)
tree28171f853589cd1787c1c51172d473247ced7a97 /Makefile
parent6a5d62b68d7abb2a675d5b7044bf6d9dc7cf2ebc (diff)
downloadhaskell-ed5cbfcb0a4c62e755bd23ec70475deda5899634.tar.gz
On Windows, stage1 also deps on stamp.inplace-gcc-lib
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c6f54f74fd..c935520db7 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,13 @@ check-packages :
exit 1; \
fi
-stage1 : check-packages
+ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+ifneq "$(WhatGccIsCalled)" ""
+GCC_LIB_DEP = stamp.inplace-gcc-lib
+endif
+endif
+
+stage1 : $(GCC_LIB_DEP) check-packages
$(MAKE) -C utils/mkdependC boot
@case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
for i in $(SUBDIRS_BUILD); do \