X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=aac594d3e9778cbad026766bb6d3ed248c4118b2;hb=ec0b859902e717c24addff49f9a83efb927fb669;hp=78bddee6630cbd846d34e7fe905febe9a0b1bd76;hpb=d9dff2f709009b8bca9c30ac650a634df0457ae5;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index 78bddee..aac594d 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -413,18 +413,22 @@ ifeq "$(GhcWithInterpreter) $(bootstrapped)" "YES YES" # Yes, include the interepreter, readline, and Template Haskell extensions SRC_HC_OPTS += -DGHCI -package template-haskell -# -DBREAKPOINT causes a loop in stage2 -# SRC_HC_OPTS += -DGHCI -DBREAKPOINT -package template-haskell PKG_DEPENDS += template-haskell +# Should the debugger commands be enabled? +ifeq "$(GhciWithDebugger)" "YES" +SRC_HC_OPTS += -DDEBUGGER +endif # Should GHCI be building info tables in the TABLES_NEXT_TO_CODE style # or not? ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO" SRC_HC_OPTS += -DGHCI_TABLES_NEXT_TO_CODE endif +ifneq "$(GhcNotThreaded)" "YES" # Use threaded RTS with GHCi, so threads don't get blocked at the prompt. SRC_HC_OPTS += -threaded +endif ALL_DIRS += ghci