summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2010-08-23 13:34:39 +0000
committersimonpj@microsoft.com <unknown>2010-08-23 13:34:39 +0000
commit712ea2a4c7b7d0e90f9651ce9618dd31bc07562f (patch)
tree58d17697be10ab42e6926a6255414f5bda5f10d1 /ghc.mk
parent5cd20c4026ffecda7822979b7de87e6a6a6fef20 (diff)
downloadhaskell-712ea2a4c7b7d0e90f9651ce9618dd31bc07562f.tar.gz
DPH should not even be built if GhcProfiled
It's not just when cleaning!
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index b7c81d1213..9a5210533d 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 += \