Skip to content

Commit

Permalink
Use "-RTS" w/ profiling to allow extra args #1772
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Feb 10, 2016
1 parent 86954bc commit efcadef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ buildOptsParser cmd =
| otherwise = opts
where bopts = boptsBenchmarkOpts opts
topts = boptsTestOpts opts
additionalArgs = "+RTS" : catMaybes [trac, prof]
additionalArgs = "+RTS" : catMaybes [trac, prof, Just "-RTS"]
trac = if tracing
then Just "-xc"
else Nothing
Expand Down

0 comments on commit efcadef

Please sign in to comment.