mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-02 05:01:53 -07:00
Use Cabal's optimization flags rather than -O
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user