Permalink
Browse files

profile: try more detailed flags

FIXME: still unable to specify RTSOPTS. this is annoying.
  • Loading branch information...
1 parent c2d2ea4 commit 2e6ee5e2bd21ec454d818c173a0ccd15adc8d62d @suhailshergill committed Feb 20, 2013
Showing with 7 additions and 7 deletions.
  1. +2 −2 blog/blog.cabal
  2. +5 −5 sources.txt
View
@@ -75,8 +75,8 @@ executable blog
-dcore-lint -debug
else
if flag(prof)
- ghc-options: -Wall -Werror -threaded -O2 -dcore-lint -rtsopts
- -osuf prof.o -hisuf prof.hi -hcsuf prof.hc
+ ghc-options: -Wall -Werror -threaded -O2 -dcore-lint -rtsopts -prof
+ -fprof-auto -osuf prof.o -hisuf prof.hi -hcsuf prof.hc
-auto-all -caf-all -fforce-recomp
else
ghc-options: -Wall -Werror -threaded -O2 -dcore-lint
View
@@ -1,6 +1,6 @@
-friendly-time-0.2.2
-persistent-postgresql-1.1.2.1
-yesod-newsfeed-1.1.0
-yesod-platform-1.1.7.2
+friendly-time-0.2.2 -p
+persistent-postgresql-1.1.2.1 -p
+yesod-newsfeed-1.1.0 -p
+yesod-platform-1.1.7.2 -p
-git://github.com/suhailshergill/yesod-paginator.git ghc/7.6
+git://github.com/suhailshergill/yesod-paginator.git ghc/7.6 -p

0 comments on commit 2e6ee5e

Please sign in to comment.