From: simonpj Date: Thu, 20 Feb 2003 12:59:55 +0000 (+0000) Subject: [project @ 2003-02-20 12:59:55 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~1137 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d5aa9c5d7591744d112af1c921564dde16e292f5;p=ghc-hetmet.git [project @ 2003-02-20 12:59:55 by simonpj] Compile binary stuff with -O always --- 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