summaryrefslogtreecommitdiff
path: root/ghc/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/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/ghc.mk')
-rw-r--r--ghc/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index ac8ce66245..809756e334 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -64,7 +64,7 @@ ghc_stage3_MORE_HC_OPTS += -threaded
endif
ifeq "$(GhcProfiled)" "YES"
-ghc_stage2_MORE_HC_OPTS += -prof
+ghc_stage2_PROGRAM_WAY = p
endif
ghc_stage1_PROG = ghc-stage1$(exeext)