Skip to content
This repository
Browse code

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...
commit 8cb0e028b6284e9d387021085eaf88b79ae4f2ef 1 parent bf1b25f
authored July 20, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  yi/src/library/Yi/Boot.hs
2  yi/src/library/Yi/Boot.hs
@@ -56,7 +56,7 @@ yiDriver cfg = do
56 56
                             , Dyre.hidePackages = ["mtl"]
57 57
                             , Dyre.ghcOpts      = (["-threaded", "-O2"] ++
58 58
 #ifdef PROFILING
59  
-                                                   ["-prof", "-auto-all", "-rtsopts"] ++
  59
+                                                   ["-prof", "-auto-all", "-rtsopts", "-osuf=p_o", "-hisuf=p_hi"] ++
60 60
 #endif
61 61
                                                    ghcOptions cfgcon)
62 62
                             }

0 notes on commit 8cb0e02

Please sign in to comment.
Something went wrong with that request. Please try again.