From ee87f0a3143eda7024c87d0f9ee6a7d13e5d6403 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Fri, 18 Apr 2008 20:53:36 +0200 Subject: 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 --- xmobar.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3