From 1a470c9404950cc6737853309d35798a98ad0c30 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 29 May 2007 07:42:24 +0000 Subject: [PATCH] don't build the threaded RTS when GhcUnregisterised=YES --- mk/config.mk.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index 634006b..ff1b564 100644 --- 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 # -ifeq "$(BootingFromHc)" "YES" 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 -- 1.7.10.4