diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-06-12 08:17:03 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-06-12 08:17:03 +0000 |
commit | d0ea71ec5000050ec22487029a9fcf6da76ee422 (patch) | |
tree | 554cbd7cd727e6f41481ac47a0b50c8cdce0d84b | |
parent | 37f22a833c33c3ab504778fd91a39d8d48fa3766 (diff) | |
download | haskell-d0ea71ec5000050ec22487029a9fcf6da76ee422.tar.gz |
don't add -threaded in stage2/3 if we didn't build the threaded RTS
-rw-r--r-- | compiler/Makefile.ghcbin | 2 |
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) |