From d5aa9c5d7591744d112af1c921564dde16e292f5 Mon Sep 17 00:00:00 2001 From: simonpj Date: Thu, 20 Feb 2003 12:59:55 +0000 Subject: [PATCH] [project @ 2003-02-20 12:59:55 by simonpj] Compile binary stuff with -O always --- ghc/compiler/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 958e96c..3440b84 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -380,8 +380,14 @@ utils/Binary_HC_OPTS += -fvia-C endif # ByteCodeItbls uses primops that the NCG doesn't support yet. -ghci/ByteCodeItbls_HC_OPTS = -fvia-C -ghci/ByteCodeLink_HC_OPTS = -fvia-C -monly-3-regs +ghci/ByteCodeItbls_HC_OPTS += -fvia-C +ghci/ByteCodeLink_HC_OPTS += -fvia-C -monly-3-regs + +# BinIface and Binary take ages to both compile and run if you don's use -O +main/BinIface_HC_OPTS += -O +utils/Binary_HC_OPTS += -O +utils/FastMutInt_HC_OPTS += -O + # CSE interacts badly with top-level IORefs (reportedly in DriverState and # DriverMkDepend), causing some of them to be commoned up. We have a fix for -- 1.7.10.4