diff options
author | Duncan Coutts <duncan@well-typed.com> | 2009-04-28 10:49:24 +0000 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2009-04-28 10:49:24 +0000 |
commit | de75026f5a48d3d052135a973ab4dff76c5b20f5 (patch) | |
tree | 306c8e71d1f7e00759fa023028db68e8f85cc7ac /ghc/ghc.mk | |
parent | 7a0608a2288ce9aad12d369ed81a7f15c911b5bf (diff) | |
download | haskell-de75026f5a48d3d052135a973ab4dff76c5b20f5.tar.gz |
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
Diffstat (limited to 'ghc/ghc.mk')
-rw-r--r-- | ghc/ghc.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/ghc.mk b/ghc/ghc.mk index 3a3edec1ce..2f6fb8010a 100644 --- a/ghc/ghc.mk +++ b/ghc/ghc.mk @@ -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 endif ifeq "$(BuildSharedLibs)" "YES" |