Skip to content

Commit

Permalink
Don't build snap deps with executable prof #1179
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Mar 15, 2016
1 parent 2fbefa3 commit e5a85b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Major changes:

Behavior changes:

* Snapshot packages are no longer built with executable profiling. See
[#1179](https://github.com/commercialhaskell/stack/issues/1179).
* `stack init` now ignores symlinks when searching for cabal files. It also now
ignores any directory that begins with `.` (as well as `dist` dirs) - before
it would only ignore `.git`, `.stack-work`, and `dist`.
Expand Down
2 changes: 1 addition & 1 deletion src/Stack/Types/Build.hs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ configureOptsNoDir :: EnvConfig
configureOptsNoDir econfig bco deps wanted isLocal package = concat
[ depOptions
, ["--enable-library-profiling" | boptsLibProfile bopts || boptsExeProfile bopts]
, ["--enable-executable-profiling" | boptsExeProfile bopts]
, ["--enable-executable-profiling" | boptsExeProfile bopts && isLocal]
, map (\(name,enabled) ->
"-f" <>
(if enabled
Expand Down

0 comments on commit e5a85b8

Please sign in to comment.