projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0608a
)
Do not link ghc stage1 using -threaded, only for stage2 or 3
author
Duncan Coutts
<duncan@well-typed.com>
Tue, 28 Apr 2009 10:49:24 +0000
(10:49 +0000)
committer
Duncan Coutts
<duncan@well-typed.com>
Tue, 28 Apr 2009 10:49:24 +0000
(10:49 +0000)
We link stage1 using the bootstrapping compiler and there's
no guarantee that it has working support for threaded
ghc/ghc.mk
patch
|
blob
|
history
diff --git
a/ghc/ghc.mk
b/ghc/ghc.mk
index
3a3edec
..
2f6fb80
100644
(file)
--- 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"