Commit 712ea2a4 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
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)))) ...@@ -351,7 +351,7 @@ $(foreach pkg,$(EXTRA_PACKAGES),$(eval $(call addPackage,$(pkg))))
ifneq "$(BootingFromHc)" "YES" ifneq "$(BootingFromHc)" "YES"
ifneq "$(CLEANING) $(GhcProfiled)" "NO YES" ifneq "$(GhcProfiled)" "YES"
# DPH uses Template Haskell, and Template Haskell doesn't work # DPH uses Template Haskell, and Template Haskell doesn't work
# with a profiled compiler. So if stage-2 is profile, don't build DPH # with a profiled compiler. So if stage-2 is profile, don't build DPH
PACKAGES_STAGE2 += \ PACKAGES_STAGE2 += \
......
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