GHC options in Cabal

Adam Langley agl at
Thu Jan 17 10:27:12 EST 2008

On Jan 17, 2008 5:51 AM, Adrian Hey <ahey at> wrote:
> IOW, if I already have..
> ghc-options: -O2

As an aside, I believe that -O2 in ghc-options is considered poor form
because cabal handles the -O options itself (so that
--disable-optimization and friends work).

There's a trac ticket to write a patch to warn about this, which I did
at some point but, come to think of it, never heard about it again. Oh


Adam Langley                                      agl at                       650-283-9641

More information about the Libraries mailing list