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
This commit is contained in:
parent
5d8e0d5a1c
commit
49efc6c399
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
IGNORE=-ignore-package monads-fd
|
IGNORE=-ignore-package monads-fd
|
||||||
GHCFLAGS=-O2 -Wall $(IGNORE)
|
GHCFLAGS=-O2 -Wall $(IGNORE) -fspec-constr-count=5
|
||||||
ifdef PROFILE
|
ifdef PROFILE
|
||||||
GHCFLAGS=-prof -auto-all -rtsopts -caf-all -fforce-recomp $(IGNORE)
|
GHCFLAGS=-prof -auto-all -rtsopts -caf-all -fforce-recomp $(IGNORE)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue