summaryrefslogtreecommitdiffstats
path: root/xmonad.cabal
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-01-18 02:48:27 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-01-18 02:48:27 +0100
commit5fff9f617903e53ed21d85b3dcc470732b5382a2 (patch)
tree6e6596bc449d6d03aaa1ce7649d56c44795ba0b0 /xmonad.cabal
parent5678863dbae4774d0c52fd3109ecf08394e8bfae (diff)
downloadmetatile-5fff9f617903e53ed21d85b3dcc470732b5382a2.tar
metatile-5fff9f617903e53ed21d85b3dcc470732b5382a2.zip
-Werror when flag(testing) only
darcs-hash:20080118014827-a5988-a94614aca446a1b93f76c7cd3ccf7d3681cf924f
Diffstat (limited to 'xmonad.cabal')
-rw-r--r--xmonad.cabal6
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