From: Ian Lynagh Date: Thu, 10 Jul 2008 12:41:41 +0000 (+0000) Subject: Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs X-Git-Tag: Before_cabalised-GHC~42 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a31cf953707dce54fc78bcffbd1773cc554dce8f;p=ghc-hetmet.git Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs I assume that we still want this, despite it having been disconnected when the module was moved. --- diff --git a/compiler/Makefile b/compiler/Makefile index a64cd12..ea3e07b 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -647,7 +647,6 @@ endif # We always optimise some low-level modules, otherwise performance of # a non-optimised compiler is severely affected. -main/BinIface_HC_OPTS += -O utils/Binary_HC_OPTS += -O -funbox-strict-fields utils/FastMutInt_HC_OPTS += -O utils/Encoding_HC_OPTS += -O diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index 58ae603..75e0d64 100644 --- a/compiler/iface/BinIface.hs +++ b/compiler/iface/BinIface.hs @@ -1,7 +1,11 @@ --- +{-# OPTIONS_GHC -O #-} +-- We always optimise this, otherwise performance of a non-optimised +-- compiler is severely affected + +-- -- (c) The University of Glasgow 2002-2006 --- +-- -- Binary interface file support. module BinIface ( writeBinIface, readBinIface,