From: Simon Marlow Date: Tue, 12 Jun 2007 08:17:03 +0000 (+0000) Subject: don't add -threaded in stage2/3 if we didn't build the threaded RTS X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d0ea71ec5000050ec22487029a9fcf6da76ee422 don't add -threaded in stage2/3 if we didn't build the threaded RTS --- diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin index 25a8a58..0e3ce12 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)