GHC options in Cabal

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


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).

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,


AGL

-- 
Adam Langley                                      agl at imperialviolet.org
http://www.imperialviolet.org                       650-283-9641


More information about the Libraries mailing list