From ae5c3b6fb9460e6773c3bd70953e33fe64aadba1 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 26 Mar 2001 16:55:37 +0000 Subject: [PATCH] [project @ 2001-03-26 16:55:37 by simonmar] Move the -monly-n-regs flags into the Makefile, necessary for .hc bootstrapping. --- ghc/lib/std/Makefile | 4 +++- ghc/lib/std/PrelInt.lhs | 2 -- ghc/lib/std/PrelWord.lhs | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 4a7b2c2..186054f 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -53,7 +53,9 @@ endif # Special options PrelStorable_HC_OPTS = -monly-3-regs -PrelCError_HC_OPTS = +RTS -K4m -RTS +PrelCError_HC_OPTS = +RTS -K4m -RTS +PrelInt_HC_OPTS = -monly-3-regs +PrelWord_HC_OPTS = -monly-3-regs #----------------------------------------------------------------------------- # Dependency generation diff --git a/ghc/lib/std/PrelInt.lhs b/ghc/lib/std/PrelInt.lhs index e9ba3c1..d6412b4 100644 --- a/ghc/lib/std/PrelInt.lhs +++ b/ghc/lib/std/PrelInt.lhs @@ -4,8 +4,6 @@ \section[PrelInt]{Module @PrelInt@} \begin{code} -{-# OPTIONS -monly-3-regs #-} - #include "MachDeps.h" module PrelInt ( diff --git a/ghc/lib/std/PrelWord.lhs b/ghc/lib/std/PrelWord.lhs index 0d720dd..4cac193 100644 --- a/ghc/lib/std/PrelWord.lhs +++ b/ghc/lib/std/PrelWord.lhs @@ -4,8 +4,6 @@ \section[PrelWord]{Module @PrelWord@} \begin{code} -{-# OPTIONS -monly-3-regs #-} - #include "MachDeps.h" module PrelWord ( -- 1.7.10.4