Changeset View
Changeset View
Standalone View
Standalone View
lang/ghc/files/patch-ghc.mk
--- ghc.mk.orig 2017-01-03 15:59:18 UTC | --- ghc.mk.orig 2017-01-03 15:59:18 UTC | ||||
+++ ghc.mk | +++ ghc.mk | ||||
@@ -96,6 +96,7 @@ endif | @@ -96,6 +96,7 @@ endif | ||||
# Catch make if it runs away into an infinite loop | # Catch make if it runs away into an infinite loop | ||||
ifeq "$(MAKE_RESTARTS)" "" | ifeq "$(MAKE_RESTARTS)" "" | ||||
else ifeq "$(MAKE_RESTARTS)" "1" | else ifeq "$(MAKE_RESTARTS)" "1" | ||||
+else ifeq "$(MAKE_RESTARTS)" "2" | +else ifeq "$(MAKE_RESTARTS)" "2" | ||||
else | else | ||||
$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details) | $(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details) | ||||
endif | endif | ||||
@@ -465,10 +466,7 @@ PACKAGES_STAGE1 += ghc-boot | @@ -459,10 +460,7 @@ PACKAGES_STAGE1 += ghc-boot-th | ||||
PACKAGES_STAGE1 += ghc-boot | |||||
PACKAGES_STAGE1 += template-haskell | PACKAGES_STAGE1 += template-haskell | ||||
PACKAGES_STAGE1 += hoopl | PACKAGES_STAGE1 += ghc-compact | ||||
PACKAGES_STAGE1 += transformers | |||||
- | - | ||||
-ifeq "$(HADDOCK_DOCS)" "YES" | -ifeq "$(HADDOCK_DOCS)" "YES" | ||||
PACKAGES_STAGE1 += xhtml | PACKAGES_STAGE1 += xhtml | ||||
-endif | -endif | ||||
ifeq "$(Windows_Target)" "NO" | ifeq "$(WITH_TERMINFO)" "YES" | ||||
ifneq "$(TargetOS_CPP)" "ios" | PACKAGES_STAGE1 += terminfo |