X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile.ghcbin;h=0f91a535569be992e485a71ab46cf80979e73a10;hb=25f44cb945936c2b9e42b8f28284d71a9b67652b;hp=96bed259af40682b2ee09c361be288eb2a6f30a5;hpb=680f11d3f1ad9065c4969ed5d9db857cc245d778;p=ghc-hetmet.git diff --git a/compiler/Makefile.ghcbin b/compiler/Makefile.ghcbin index 96bed25..0f91a53 100644 --- a/compiler/Makefile.ghcbin +++ b/compiler/Makefile.ghcbin @@ -28,7 +28,13 @@ SRC_HC_OPTS += -optl-Xlinker -optl-E endif ifeq "$(GhcWithInterpreter)" "YES" -SRC_HC_OPTS += -DGHCI -DBREAKPOINT +SRC_HC_OPTS += -DGHCI + +# Should the debugger commands be enabled? +ifeq "$(GhciWithDebugger)" "YES" +SRC_HC_OPTS += -DDEBUGGER +endif + endif ifneq "$(GhcNotThreaded)" "YES"