Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
authorIan Lynagh <igloo@earth.li>
Thu, 10 Jul 2008 12:41:41 +0000 (12:41 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 10 Jul 2008 12:41:41 +0000 (12:41 +0000)
I assume that we still want this, despite it having been disconnected
when the module was moved.

compiler/Makefile
compiler/iface/BinIface.hs

index a64cd12..ea3e07b 100644 (file)
@@ -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
index 58ae603..75e0d64 100644 (file)
@@ -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,