Commit d4c5fb12 authored by Simon Marlow's avatar Simon Marlow
Browse files

make the GhcThreaded setting lazy, because GhcUnregisterised might not be set yet

parent 2a01dd4c
......@@ -357,11 +357,7 @@ endif
GhcRTSWays += $(if $(findstring NO, $(GhcUnregisterised)),thr thr_p thr_debug,)
# We can only build GHCi threaded if we have a threaded RTS:
ifneq "$(findstring thr, $(GhcRTSWays))" ""
GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO)
# Option flags to pass to GHC when it's compiling modules in
# fptools/libraries. Typically these are things like -O or
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment