Skip to content

Commit

Permalink
don't build the threaded RTS when GhcUnregisterised=YES
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Marlow committed May 29, 2007
1 parent 8226f00 commit 1a470c9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions mk/config.mk.in
Expand Up @@ -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
Expand Down

0 comments on commit 1a470c9

Please sign in to comment.