From 712ea2a4c7b7d0e90f9651ce9618dd31bc07562f Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Mon, 23 Aug 2010 13:34:39 +0000 Subject: [PATCH] DPH should not even be built if GhcProfiled It's not just when cleaning! --- ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc.mk b/ghc.mk index b7c81d1..9a52105 100644 --- a/ghc.mk +++ b/ghc.mk @@ -351,7 +351,7 @@ $(foreach pkg,$(EXTRA_PACKAGES),$(eval $(call addPackage,$(pkg)))) ifneq "$(BootingFromHc)" "YES" -ifneq "$(CLEANING) $(GhcProfiled)" "NO YES" +ifneq "$(GhcProfiled)" "YES" # DPH uses Template Haskell, and Template Haskell doesn't work # with a profiled compiler. So if stage-2 is profile, don't build DPH PACKAGES_STAGE2 += \ -- 1.7.10.4