summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 8a17579..153d72b 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -74,6 +74,10 @@ flag with_threaded
description: Use threaded runtime.
default: False
+flag with_rtsopts
+ description: Use -with-rtsopts=-V0 to reduce wakeups
+ default: True
+
flag with_uvmeter
description: UVMeter only useful to australians.
default: False
@@ -138,6 +142,9 @@ executable xmobar
ghc-options: -threaded
cpp-options: -DTHREADED_RUNTIME
+ if flag(with_rtsopts)
+ ghc-options: -with-rtsopts=-V0
+
if impl (ghc < 7)
cpp-options: -DGHC6