Commit 3d80517a authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix cleaning when GhcProfiled = YES

We need to include the DPH cleaning rules, even though we don't build DPH
when GhcProfiled = YES.
parent aecb51e1
......@@ -351,7 +351,7 @@ $(foreach pkg,$(EXTRA_PACKAGES),$(eval $(call addPackage,$(pkg))))
ifneq "$(BootingFromHc)" "YES"
ifneq "$(GhcProfiled)" "YES"
ifneq "$(CLEANING) $(GhcProfiled)" "NO 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment