summaryrefslogtreecommitdiff
path: root/compiler/utils/Binary.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
committerIan Lynagh <igloo@earth.li>2008-07-10 12:48:27 +0000
commit0d792bea36420e657fb293d9f90f35d8ef96cb4f (patch)
tree5dcf00f71343dd76e6f7735e35651858f7d9c3ed /compiler/utils/Binary.hs
parenta31cf953707dce54fc78bcffbd1773cc554dce8f (diff)
downloadhaskell-0d792bea36420e657fb293d9f90f35d8ef96cb4f.tar.gz
Move some flags from the Makefile into module pragmas
Diffstat (limited to 'compiler/utils/Binary.hs')
-rw-r--r--compiler/utils/Binary.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/utils/Binary.hs b/compiler/utils/Binary.hs
index 3d20609067..80d10cba66 100644
--- a/compiler/utils/Binary.hs
+++ b/compiler/utils/Binary.hs
@@ -1,4 +1,8 @@
{-# OPTIONS -cpp #-}
+{-# OPTIONS_GHC -O -funbox-strict-fields #-}
+-- We always optimise this, otherwise performance of a non-optimised
+-- compiler is severely affected
+
--
-- (c) The University of Glasgow 2002-2006
--