diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-04-18 20:53:36 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-04-18 20:53:36 +0200 |
commit | ee87f0a3143eda7024c87d0f9ee6a7d13e5d6403 (patch) | |
tree | 13606b2dce3a1866d3e06a431a45c5bc5de0614b | |
parent | 83049ceb9b15bc678d4a006ac60e4b1d1228ec6a (diff) | |
download | xmobar-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.cabal | 2 |
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 |