Refer to the wiki page in the "Make has restarted itself n times" error
authorIan Lynagh <ian@well-typed.com>
Sun, 19 May 2013 19:44:32 +0000 (20:44 +0100)
committerIan Lynagh <ian@well-typed.com>
Sun, 19 May 2013 19:44:32 +0000 (20:44 +0100)
Fixes #7592.

ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 6ed553c..7b66cfd 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -80,7 +80,7 @@ default : all
 ifeq      "$(MAKE_RESTARTS)" ""
 else ifeq "$(MAKE_RESTARTS)" "1"
 else
-$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug?)
+$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://hackage.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details)
 endif
 
 ifneq "$(CLEANING)" "YES"