summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2017-04-29 03:41:05 +0200
committerjao <jao@gnu.org>2017-04-29 03:41:05 +0200
commit308bd1b83e07d2418ee512ee1fcaeda609907669 (patch)
tree282dc0f4b4a1ad9b9ece17c36784df25901c7b4c /xmobar.cabal
parent2939cee44cf2ab18e2627754d19bcd8b6c9e96fb (diff)
downloadxmobar-308bd1b83e07d2418ee512ee1fcaeda609907669.tar.gz
xmobar-308bd1b83e07d2418ee512ee1fcaeda609907669.tar.bz2
CPP for GHC 8.0
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index af158f6..2bf79b9 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -148,6 +148,9 @@ executable xmobar
if impl (ghc < 7)
cpp-options: -DGHC6
+ if impl (ghc > 7)
+ cpp-options: -DGHC8
+
if flag(with_xft) || flag(all_extensions)
build-depends: utf8-string >= 0.3 && < 1.1, X11-xft >= 0.2 && < 0.4
other-modules: MinXft