Skip to content

Commit

Permalink
Add IS_DEP=1 env var when compiling make deps
Browse files Browse the repository at this point in the history
When IS_DEP=1 erlang.mk disables warnings as errors.
  • Loading branch information
ericmj committed Jun 29, 2016
1 parent dfd5e79 commit bc2480d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/lib/mix/tasks/deps.compile.ex
Expand Up @@ -191,7 +191,7 @@ defmodule Mix.Tasks.Deps.Compile do
else
"make"
end
do_command(dep, config, command, true)
do_command(dep, config, command, true, [{"IS_DEP", "1"}])
end

defp do_compile(%Mix.Dep{opts: opts} = dep, config) do
Expand Down

0 comments on commit bc2480d

Please sign in to comment.