diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-11-02 21:42:33 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-11-02 22:15:20 +0000 |
commit | af072fc35d8dbe7962e62700da052593e999c0ef (patch) | |
tree | e32ca8fbfa251cbd6e6734953183f3833d6b3094 /ghc.mk | |
parent | d8684910b18203e0d15d3c77374382f5841e991d (diff) | |
download | haskell-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.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)" "" |