GHC options in Cabal

Duncan Coutts duncan.coutts at
Thu Jan 17 17:35:34 EST 2008

On Thu, 2008-01-17 at 07:27 -0800, Adam Langley wrote:
> 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
> well,

Did you? Oh, that'd be great. Where is the patch?


More information about the Libraries mailing list