summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-02 21:42:33 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-02 22:15:20 +0000
commitaf072fc35d8dbe7962e62700da052593e999c0ef (patch)
treee32ca8fbfa251cbd6e6734953183f3833d6b3094 /ghc.mk
parentd8684910b18203e0d15d3c77374382f5841e991d (diff)
downloadhaskell-af072fc35d8dbe7962e62700da052593e999c0ef.tar.gz
Change how dependency generation works; fixes #7381
We now do the initial dependency generation for the vanilla way regardless of what way flags and hisuf/osuf flags are given. This makes it easier to generate the right dependency info in the end.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index c1544ad6ec..6c0a29a208 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -138,6 +138,11 @@ ifeq "$(findstring v,$(GhcLibWays))" ""
$(error v is not in $$(GhcLibWays), and $$(DYNAMIC_BY_DEFAULT) is not YES)
endif
endif
+ifeq "$(GhcProfiled)" "YES"
+ifeq "$(findstring p,$(GhcLibWays))" ""
+$(error p is not in $$(GhcLibWays), and $$(GhcProfiled) is YES)
+endif
+endif
endif
ifeq "$(phase)" ""