Commit de75026f authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Do not link ghc stage1 using -threaded, only for stage2 or 3

We link stage1 using the bootstrapping compiler and there's
no guarantee that it has working support for threaded
parent 7a0608a2
......@@ -29,7 +29,8 @@ endif
ifeq "$(GhcThreaded)" "YES"
# Use threaded RTS with GHCi, so threads don't get blocked at the prompt.
ghc_HC_OPTS += -threaded
ghc_stage2_HC_OPTS += -threaded
ghc_stage3_HC_OPTS += -threaded
ifeq "$(BuildSharedLibs)" "YES"
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