diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/Makefile | 1 | ||||
-rw-r--r-- | compiler/iface/BinIface.hs | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/compiler/Makefile b/compiler/Makefile index a64cd12fe7..ea3e07b832 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 58ae603d55..75e0d642fd 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, |