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

FIX unregisterised build

Can't check $(GhcUnregisterised) eagerly, because it might not have
been set yet (it's set in
parent bd59a998
......@@ -350,9 +350,9 @@ GhcRTSWays += debug
# Want the threaded versions unless we're unregisterised
ifeq "$(GhcUnregisterised)" "NO"
GhcRTSWays += thr thr_p thr_debug
# Defer the check until later by using $(if..), because GhcUnregisterised might
# be set in, which hasn't been read yet.
GhcRTSWays += $(if $(findstring NO, $(GhcUnregisterised)),thr thr_p thr_debug,)
# Option flags to pass to GHC when it's compiling modules in
# fptools/libraries. Typically these are things like -O or
Supports Markdown
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