[project @ 2001-03-26 16:55:37 by simonmar]
authorsimonmar <unknown>
Mon, 26 Mar 2001 16:55:37 +0000 (16:55 +0000)
committersimonmar <unknown>
Mon, 26 Mar 2001 16:55:37 +0000 (16:55 +0000)
Move the -monly-n-regs flags into the Makefile, necessary for .hc
bootstrapping.

ghc/lib/std/Makefile
ghc/lib/std/PrelInt.lhs
ghc/lib/std/PrelWord.lhs

index 4a7b2c2..186054f 100644 (file)
@@ -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
index e9ba3c1..d6412b4 100644 (file)
@@ -4,8 +4,6 @@
 \section[PrelInt]{Module @PrelInt@}
 
 \begin{code}
-{-# OPTIONS -monly-3-regs #-}
-
 #include "MachDeps.h"
 
 module PrelInt (
index 0d720dd..4cac193 100644 (file)
@@ -4,8 +4,6 @@
 \section[PrelWord]{Module @PrelWord@}
 
 \begin{code}
-{-# OPTIONS -monly-3-regs #-}
-
 #include "MachDeps.h"
 
 module PrelWord (