From 67f08e3e6460a9a38f30cadf3beb433460af5bed Mon Sep 17 00:00:00 2001 From: wirtwolff Date: Tue, 27 Jan 2009 02:47:23 +0100 Subject: 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 --- xmobar.cabal | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmobar.cabal') 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 -- cgit v1.2.3