summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorwirtwolff <wirtwolff@gmail.com>2009-01-27 02:47:23 +0100
committerwirtwolff <wirtwolff@gmail.com>2009-01-27 02:47:23 +0100
commit67f08e3e6460a9a38f30cadf3beb433460af5bed (patch)
tree46f9bc01adb99592aedacb36664f908838833e76 /xmobar.cabal
parent605e62b06fafad48da7b1ad84972e575f2a500b3 (diff)
downloadxmobar-67f08e3e6460a9a38f30cadf3beb433460af5bed.tar.gz
xmobar-67f08e3e6460a9a38f30cadf3beb433460af5bed.tar.bz2
Compile without optimization on x86_64 and ghc-6.10.1
Workaround for issue http://hackage.haskell.org/trac/ghc/ticket/2961 "Incorrect FFI code generated with -O" on x86_64, applies to xmobar also. darcs-hash:20090127014723-d17f0-2a217ee42b96284c1448ebebd25beb5dc93dd1b1.gz
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 08e1dd7..5b4731b 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -32,6 +32,10 @@ executable xmobar
other-Modules: Xmobar, Config, Parsers, Commands, XUtil, Runnable, Plugins
ghc-options: -funbox-strict-fields -Wall
ghc-prof-options: -prof -auto-all
+
+ if impl (ghc == 6.10.1) && arch (x86_64)
+ ghc-options: -O0
+
if flag(small_base)
build-depends: base >= 3, base < 4, containers, process, old-time, old-locale, bytestring, directory