diff options
author | Joey Hess <joey@kitenet.net> | 2011-04-29 13:12:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-04-29 13:12:26 -0400 |
commit | 49efc6c39928baec03d7dd0d5cb37f346432f1d3 (patch) | |
tree | f1330a30d29ca89846d701f20ce163fefef9e604 /Makefile | |
parent | 5d8e0d5a1c09b95043d02d7517f1e00604b37244 (diff) |
add -fspec-constr-count workaround
ghc 7 produces these warnings http://hackage.haskell.org/trac/ghc/ticket/4288
The specialization is enabled by -O2, and the default limit of 3 is
there to avoid specialization blowing up binary size. Perhaps that default
is a little low? I needed 4 to avoid a warning on Unused.hs, and 5 to avoid
warnings on test.hs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ PREFIX=/usr IGNORE=-ignore-package monads-fd -GHCFLAGS=-O2 -Wall $(IGNORE) +GHCFLAGS=-O2 -Wall $(IGNORE) -fspec-constr-count=5 ifdef PROFILE GHCFLAGS=-prof -auto-all -rtsopts -caf-all -fforce-recomp $(IGNORE) endif |