summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-06-12 08:17:03 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-06-12 08:17:03 +0000
commitd0ea71ec5000050ec22487029a9fcf6da76ee422 (patch)
tree554cbd7cd727e6f41481ac47a0b50c8cdce0d84b
parent37f22a833c33c3ab504778fd91a39d8d48fa3766 (diff)
downloadhaskell-d0ea71ec5000050ec22487029a9fcf6da76ee422.tar.gz
don't add -threaded in stage2/3 if we didn't build the threaded RTS
-rw-r--r--compiler/Makefile.ghcbin2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin
index 25a8a58341..0e3ce122cc 100644
--- a/compiler/Makefile.ghcbin
+++ b/compiler/Makefile.ghcbin
@@ -37,9 +37,11 @@ endif
endif
+ifneq "$(findstring thr, $(GhcRTSWays))" ""
ifneq "$(GhcNotThreaded)" "YES"
SRC_HC_OPTS += -threaded
endif
+endif
odir=stage$(stage)