From 7b03cd99a049ddd896bbb94208c74dda54549dac Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Fri, 18 Jan 2008 02:48:27 +0100 Subject: -Werror when flag(testing) only darcs-hash:20080118014827-a5988-a94614aca446a1b93f76c7cd3ccf7d3681cf924f.gz --- xmonad.cabal | 6 ++++-- 1 file 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 -- cgit v1.2.3