diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-01-18 02:48:27 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-01-18 02:48:27 +0100 |
commit | 7b03cd99a049ddd896bbb94208c74dda54549dac (patch) | |
tree | 6e6596bc449d6d03aaa1ce7649d56c44795ba0b0 | |
parent | f777e12c77d0070d56b77e8d24e1b3b61a21e812 (diff) | |
download | xmonad-7b03cd99a049ddd896bbb94208c74dda54549dac.tar.gz xmonad-7b03cd99a049ddd896bbb94208c74dda54549dac.tar.xz xmonad-7b03cd99a049ddd896bbb94208c74dda54549dac.zip |
-Werror when flag(testing) only
darcs-hash:20080118014827-a5988-a94614aca446a1b93f76c7cd3ccf7d3681cf924f.gz
Diffstat (limited to '')
-rw-r--r-- | xmonad.cabal | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmonad.cabal b/xmonad.cabal index 9311f0c..d727cf1 100644 --- a/xmonad.cabal +++ b/xmonad.cabal @@ -45,7 +45,7 @@ library build-depends: base < 3 build-depends: X11>=1.4.1, mtl, unix - ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s + ghc-options: -funbox-strict-fields -Wall -optl-Wl,-s ghc-prof-options: -prof -auto-all extensions: CPP if flag(testing) @@ -56,6 +56,8 @@ executable xmonad other-modules: XMonad.Core XMonad.Main XMonad.Layout XMonad.Operations XMonad.StackSet XMonad - ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s + ghc-options: -funbox-strict-fields -Wall -optl-Wl,-s ghc-prof-options: -prof -auto-all extensions: CPP + if flag(testing) + ghc-options: -Werror |