From a8bdaac970946d71a66c4f45588915465822a0cc Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 4 Mar 2002 17:02:43 +0000 Subject: [PATCH] [project @ 2002-03-04 17:02:43 by simonmar] - generate GHC/Prim.hi from GHC/Prim.hi-boot using ghc --compile-iface - compile the whole lot with -funbox-strict-fields --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 945354d..054ca7e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.18 2002/02/17 20:05:35 panne Exp $ +# $Id: Makefile,v 1.19 2002/03/04 17:02:43 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -52,9 +52,7 @@ endif # Per-module flags # ESSENTIAL, for getting reasonable performance from the I/O library: -GHC/IOBase_HC_OPTS = -funbox-strict-fields - -Data/Array/Storable_HC_OPTS = -funbox-strict-fields +SRC_HC_OPTS += -funbox-strict-fields # ----------------------------------------------------------------------------- # PrimOpWrappers @@ -71,7 +69,7 @@ CLEAN_FILES += GHC/PrimopWrappers.hs # GHC/Prim.hi-boot GHC/Prim.$(way_)hi : GHC/Prim.hi-boot - cp $< $@ + -$(GHC_INPLACE) --compile-iface $< ALL_PRIMS = GHC/Prim.hi $(foreach way, $(WAYS), GHC/Prim.$(way)_hi) INSTALL_DATAS_WITH_DIRS += GHC/Prim.$(way_)hi -- 1.7.10.4