From 00f83ac78aec58167af02fc5625849d01a73c72c Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Mon, 5 Nov 2007 06:17:59 +0000 Subject: [PATCH] Use Cabal's optimization flags rather than -O --- xmonad.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmonad.cabal b/xmonad.cabal index c2bd5ad..39e3c1a 100644 --- a/xmonad.cabal +++ b/xmonad.cabal @@ -31,7 +31,7 @@ library XMonad.Layouts XMonad.Operations XMonad.StackSet - ghc-options: -funbox-strict-fields -O2 -fasm -Wall -Werror -optl-Wl,-s + ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s ghc-prof-options: -prof -auto-all if flag(small_base) @@ -46,6 +46,6 @@ library executable xmonad main-is: Main.hs other-modules: XMonad.Core XMonad.Layouts XMonad.Operations XMonad.StackSet XMonad - ghc-options: -funbox-strict-fields -O2 -fasm -Wall -Werror -optl-Wl,-s + ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s ghc-prof-options: -prof -auto-all -- Also requires deriving Typeable, PatternGuards