Commit 712ea2a4 authored by's avatar
Browse files

DPH should not even be built if GhcProfiled

It's not just when cleaning!
parent 5cd20c40
......@@ -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
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