Use Cabal's optimization flags rather than -O

This commit is contained in:
Spencer Janssen
2007-11-05 06:17:59 +00:00
parent 3a902ce613
commit 00f83ac78a

View File

@@ -31,7 +31,7 @@ library
XMonad.Layouts XMonad.Layouts
XMonad.Operations XMonad.Operations
XMonad.StackSet 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 ghc-prof-options: -prof -auto-all
if flag(small_base) if flag(small_base)
@@ -46,6 +46,6 @@ library
executable xmonad executable xmonad
main-is: Main.hs main-is: Main.hs
other-modules: XMonad.Core XMonad.Layouts XMonad.Operations XMonad.StackSet XMonad 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 ghc-prof-options: -prof -auto-all
-- Also requires deriving Typeable, PatternGuards -- Also requires deriving Typeable, PatternGuards