Ticket #818 (closed defect: wontfix)
cabal sdist warns about optimization levels
|Reported by:||guest||Owned by:|
For some reason 'cabal sdist' dislikes fast code so much that it tells me not to use -O2. What does it know about my needs and my project?
See below for an example:
$ cabal sdist Distribution quality warnings: 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
Is there a way to disable this warning in my .cabal file? If not, can the warning please be removed? It doesn't seems appropriate for sdist to tell me which compiler flags I should use to optimize my code.