summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-10 13:53:59 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-10 13:54:09 +0300
commitd36b1ffac9960db70043aaab43c931ce217912ba (patch)
tree99fc4c034759ba189b738b09e2d37922929972c1 /mk
parent3cc3edf30f37b11940d1f9c4afca8c5e9ccaa8f6 (diff)
downloadhaskell-d36b1ffac9960db70043aaab43c931ce217912ba.tar.gz
Build debugged prof runtimes
For some reason these were disabled. I find these quite useful when debugging profiling issues, so enable them again. Reviewers: bgamari, simonmar Reviewed By: simonmar Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5140
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index e4a79a1d71..7fa0f770a1 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -303,6 +303,7 @@ GhcRTSWays += debug
GhcRTSWays += thr thr_debug thr_l
GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),thr_p,)
GhcRTSWays += $(if $(findstring dyn, $(GhcLibWays)),dyn debug_dyn thr_dyn thr_debug_dyn l_dyn thr_l_dyn,)
+GhcRTSWays += $(if $(findstring p, $(GhcLibWays)),thr_debug_p debug_p,)
# We can only build GHCi threaded if we have a threaded RTS:
GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO)