summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorsof <unknown>1997-06-09 07:42:05 +0000
committersof <unknown>1997-06-09 07:42:05 +0000
commit9a35cb417209de48cca57f1899f305cf76909bb3 (patch)
treefdc0238757728652d14522ef8374217d0c523a73 /ghc
parentedeb362f70b892ae56ad97a6b308ce53f8a4c2fd (diff)
downloadhaskell-9a35cb417209de48cca57f1899f305cf76909bb3.tar.gz
[project @ 1997-06-09 07:42:05 by sof]
Compile CC_SRCS with -O; fixed hi-boot buglet
Diffstat (limited to 'ghc')
-rw-r--r--ghc/compiler/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile
index 7b83cfbaf7..16b2b6b46f 100644
--- a/ghc/compiler/Makefile
+++ b/ghc/compiler/Makefile
@@ -133,8 +133,7 @@ SRC_HC_OPTS += \
# -syslib ghc just needed for use of PackedString.hPutPS
-
-SRC_CC_OPTS += -Iparser -I. -I$(TOP)/includes
+SRC_CC_OPTS += -Iparser -I. -I$(TOP)/includes -O
ifeq "$(Ghc2_0)" "NO"
SRC_HC_OPTS += -fomit-derived-read -fomit-reexported-instances
@@ -178,7 +177,6 @@ parser/U_either_HC_OPTS = -fvia-C '-\#include"hspincl.h"'
parser/U_qid_HC_OPTS = -fvia-C '-\#include"hspincl.h"'
parser/U_tree_HC_OPTS = -fvia-C '-\#include"hspincl.h"'
parser/U_ttype_HC_OPTS = -fvia-C '-\#include"hspincl.h"'
-parser/hslexer_CC_OPTS = -I$(TOP)/includes
prelude/PrimOp_HC_OPTS = -K3m
reader/Lex_HC_OPTS = -K2m -H16m -fvia-C
ifeq "$(Ghc2_0)" "NO"
@@ -296,9 +294,10 @@ hi-boot ::
# Have the collector *Loop.hs interface files be generated just after having
# created the .hi's from the .hi-boot's.
-#hi-boot :: $(patsubst %.hs,%.hi,$(LOOPS_HS))
else
+hi-boot :: $(LOOPS)
+
%.hi : %.lhi
$(RM) $@
$(UNLIT) $< $@ || ( $(RM) $@ && exit 1 )