Skip to content

Commit bc2480d

Browse files
committed
Add IS_DEP=1 env var when compiling make deps
When IS_DEP=1 erlang.mk disables warnings as errors.
1 parent dfd5e79 commit bc2480d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/deps.compile.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ defmodule Mix.Tasks.Deps.Compile do
191191
else
192192
"make"
193193
end
194-
do_command(dep, config, command, true)
194+
do_command(dep, config, command, true, [{"IS_DEP", "1"}])
195195
end
196196

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

0 commit comments

Comments
 (0)