GHC options in Cabal

Duncan Coutts duncan.coutts at worc.ox.ac.uk
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 iee.org> 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).

Yes.

> 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?

Duncan



More information about the Libraries mailing list