Browse files

Expanded profiling options for GHC.

Just in case there could be conflict with libraries compiled normal way,
we add "-osuf=p_o", "-hisuf=p_o" when recompiling our configuration file.
  • Loading branch information...
1 parent bf1b25f commit 8cb0e028b6284e9d387021085eaf88b79ae4f2ef Michal J. Gajda committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 yi/src/library/Yi/Boot.hs
View
2 yi/src/library/Yi/Boot.hs
@@ -56,7 +56,7 @@ yiDriver cfg = do
, Dyre.hidePackages = ["mtl"]
, Dyre.ghcOpts = (["-threaded", "-O2"] ++
#ifdef PROFILING
- ["-prof", "-auto-all", "-rtsopts"] ++
+ ["-prof", "-auto-all", "-rtsopts", "-osuf=p_o", "-hisuf=p_hi"] ++
#endif
ghcOptions cfgcon)
}

0 comments on commit 8cb0e02

Please sign in to comment.