summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-04-18 20:53:36 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-04-18 20:53:36 +0200
commitee87f0a3143eda7024c87d0f9ee6a7d13e5d6403 (patch)
tree13606b2dce3a1866d3e06a431a45c5bc5de0614b
parent83049ceb9b15bc678d4a006ac60e4b1d1228ec6a (diff)
downloadxmobar-ee87f0a3143eda7024c87d0f9ee6a7d13e5d6403.tar.gz
xmobar-ee87f0a3143eda7024c87d0f9ee6a7d13e5d6403.tar.bz2
Remove -threaded from ghc-options.
GHC's -threaded scheduler seems to wake up more frequently even when all threads are idle. These frequent wakeups are detrimental to laptop battery life. darcs-hash:20080418185336-a5988-dac15316530efd2cce6b0a3abe651415a182c2f6.gz
-rw-r--r--xmobar.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 8f0d0e2..56cc5e8 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -27,7 +27,7 @@ flag with_utf8
executable xmobar
main-is: Main.hs
other-Modules: Xmobar, Config, Parsers, Commands, XUtil, Runnable, Plugins
- ghc-options: -funbox-strict-fields -Wall -optl-Wl,-s -threaded
+ ghc-options: -funbox-strict-fields -Wall -optl-Wl,-s
ghc-prof-options: -prof -auto-all
if flag(small_base)
build-depends: base >= 3, containers, process, old-time, old-locale, bytestring, directory