projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8226f00
)
don't build the threaded RTS when GhcUnregisterised=YES
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 29 May 2007 07:42:24 +0000
(07:42 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 29 May 2007 07:42:24 +0000
(07:42 +0000)
mk/config.mk.in
patch
|
blob
|
history
diff --git
a/mk/config.mk.in
b/mk/config.mk.in
index
634006b
..
ff1b564
100644
(file)
--- a/
mk/config.mk.in
+++ b/
mk/config.mk.in
@@
-342,10
+342,16
@@
endif
# t : ticky-ticky profiling
# debug_t : debugging ticky-ticky profiling
#
# t : ticky-ticky profiling
# debug_t : debugging ticky-ticky profiling
#
-ifeq "$(BootingFromHc)" "YES"
GhcRTSWays=
GhcRTSWays=
-else
-GhcRTSWays=thr thr_p debug thr_debug
+
+# Usually want the debug version
+ifeq "$(BootingFromHc)" "NO"
+GhcRTSWays += debug
+endif
+
+# Want the threaded versions unless we're unregisterised
+ifeq "$(GhcUnregisterised)" "NO"
+GhcRTSWays += thr thr_p thr_debug
endif
# Option flags to pass to GHC when it's compiling modules in
endif
# Option flags to pass to GHC when it's compiling modules in