From b8a3d34e3c254a883556e35d1d3e3e60bf280a2a Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 24 Jul 2003 13:40:05 +0000 Subject: [PATCH] [project @ 2003-07-24 13:40:05 by simonmar] Fix for unregisterised bootstrapping --- mk/bootstrap.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk index 906671b..55fd6d1 100644 --- a/mk/bootstrap.mk +++ b/mk/bootstrap.mk @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: bootstrap.mk,v 1.25 2003/07/24 11:46:01 simonmar Exp $ +# $Id: bootstrap.mk,v 1.26 2003/07/24 13:40:05 simonmar Exp $ # # Makefile rules for booting from .hc files without a driver. # @@ -58,7 +58,10 @@ PLATFORM_HC_BOOT_CC_OPTS += -w endif ifeq "$(BootingFromUnregisterisedHc)" "YES" -PLATFORM_HC_BOOT_CC_OPTS +=-DNO_REGS -DUSE_MINIINTERPRETER +PLATFORM_HC_BOOT_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER +SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER +# Add these flags to SRC_CC_OPTS too, because they need to be passed to the plain .c +# files in ghc/rts. endif PLATFORM_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt) -- 1.7.10.4