From bb22180bc92d7c7a4a7630841420787eb5b07bb7 Mon Sep 17 00:00:00 2001 From: sof Date: Sat, 2 Mar 2002 17:49:42 +0000 Subject: [PATCH] [project @ 2002-03-02 17:49:42 by sof] Add the CPP flags used by an unregisterised build when compiling the .h generating utilities herein. As was, info table size was wrongly computed in the unregisterised case. --- ghc/includes/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile index 12d384a..132c07c 100644 --- a/ghc/includes/Makefile +++ b/ghc/includes/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.19 2002/02/11 13:59:01 simonmar Exp $ +# $Id: Makefile,v 1.20 2002/03/02 17:49:42 sof Exp $ # TOP = .. @@ -11,6 +11,13 @@ include $(TOP)/mk/boilerplate.mk H_FILES = $(filter-out gmp.h,$(wildcard *.h)) gmp.h # +# Options -- if we're building unregisterised, add a couple of -D's +# +ifeq "$(GhcUnregisterised)" "YES" +SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER +endif + +# # Header file built from the configure script's findings # H_CONFIG = config.h -- 1.7.10.4