summaryrefslogtreecommitdiff
path: root/mk/config.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-12 12:27:34 +0000
committerIan Lynagh <igloo@earth.li>2007-08-12 12:27:34 +0000
commitaacbb9918d5458df0a64231bb55976679e471b91 (patch)
tree8ac64fb76715ae17bf8a1be1fd14ceb60ebe928d /mk/config.mk.in
parent18ea99aa2e3de03524099029a02f7e4f71fb729c (diff)
downloadhaskell-aacbb9918d5458df0a64231bb55976679e471b91.tar.gz
Get closer to GhcCompilerWays=p working
We also now have GhcThreaded rather than GhcNotThreaded.
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r--mk/config.mk.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 000b779b5d..7e8cc32430 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -218,6 +218,13 @@ GhcStage1HcOpts=
GhcStage2HcOpts=
GhcStage3HcOpts=
+ifneq "$(findstring thr, $(GhcRTSWays))" ""
+GhcThreaded=YES
+else
+GhcThreaded=NO
+endif
+GhcProfiled=NO
+
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and
# run without any support for architecture-specific assembly mangling,