summaryrefslogtreecommitdiff
path: root/mk/bootstrap.mk
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-07-24 13:40:05 +0000
committersimonmar <unknown>2003-07-24 13:40:05 +0000
commitb8a3d34e3c254a883556e35d1d3e3e60bf280a2a (patch)
treededa3da9bd88d02d06bf3a739b8416c474531109 /mk/bootstrap.mk
parentba2843abdfe6f055777e4e66e8add769fce31d29 (diff)
downloadhaskell-b8a3d34e3c254a883556e35d1d3e3e60bf280a2a.tar.gz
[project @ 2003-07-24 13:40:05 by simonmar]
Fix for unregisterised bootstrapping
Diffstat (limited to 'mk/bootstrap.mk')
-rw-r--r--mk/bootstrap.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bootstrap.mk b/mk/bootstrap.mk
index 906671bea0..55fd6d1253 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)