From d0ea71ec5000050ec22487029a9fcf6da76ee422 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 12 Jun 2007 08:17:03 +0000 Subject: [PATCH] don't add -threaded in stage2/3 if we didn't build the threaded RTS --- compiler/Makefile.ghcbin | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4