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

don't add -threaded in stage2/3 if we didn't build the threaded RTS

parent 37f22a83
...@@ -37,9 +37,11 @@ endif ...@@ -37,9 +37,11 @@ endif
endif endif
ifneq "$(findstring thr, $(GhcRTSWays))" ""
ifneq "$(GhcNotThreaded)" "YES" ifneq "$(GhcNotThreaded)" "YES"
SRC_HC_OPTS += -threaded SRC_HC_OPTS += -threaded
endif endif
odir=stage$(stage) odir=stage$(stage)
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