diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-08-09 10:16:34 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-08-09 10:16:34 +0000 |
commit | f2a25c5b02705aeb5f0138d5eb74c1919c29758c (patch) | |
tree | 50e40da7f7e819d1d584d5aef4a5807b5d38c31e /compiler | |
parent | e2e80125a6d6ebe1d081713ef000ed9712bfbb05 (diff) | |
download | haskell-f2a25c5b02705aeb5f0138d5eb74c1919c29758c.tar.gz |
only define GHCI if $(GhcWithInterpreter)=YES, also add -threaded
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/Makefile.ghcbin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin index 626ec511a0..0ae9ff8b6c 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 |