From: Pepe Iborra Date: Sun, 17 Dec 2006 00:11:50 +0000 (+0000) Subject: Propagate the DEBUGGER flag to the Makefile for stage 2 X-Git-Tag: 2007-02-05~179 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=7ef63167c88c64927d55823ec31801212ea92413 Propagate the DEBUGGER flag to the Makefile for stage 2 --- 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"