From: Simon Marlow Date: Wed, 9 Aug 2006 10:16:34 +0000 (+0000) Subject: only define GHCI if $(GhcWithInterpreter)=YES, also add -threaded X-Git-Tag: Before_FC_branch_merge~251 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f2a25c5b02705aeb5f0138d5eb74c1919c29758c;p=ghc-hetmet.git only define GHCI if $(GhcWithInterpreter)=YES, also add -threaded --- diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin index 626ec51..0ae9ff8 100644 --- a/compiler/Makefile.ghcbin +++ b/compiler/Makefile.ghcbin @@ -13,12 +13,17 @@ stage=2 HC=$(GHC_STAGE1) SRC_HC_OPTS += -package ghc -SRC_HC_OPTS += -DGHCI -DBREAKPOINT SRC_HC_OPTS += -Istage$(stage) SRC_HC_OPTS += \ -cpp -fglasgow-exts -fno-generics -Rghc-timing \ -I. -IcodeGen -InativeGen -Iparser +ifeq "$(GhcWithInterpreter)" "YES" +SRC_HC_OPTS += -DGHCI -DBREAKPOINT +endif + +SRC_HC_OPTS += -threaded + odir=stage$(stage) HS_SRCS = main/Main.hs