aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-06-06 01:26:29 +0300
committerLoïc Hoguin <[email protected]>2015-06-06 01:26:29 +0300
commit9ed75876301c160985e2c277818a8d97870330e6 (patch)
tree5fe6547d29f9fb2b8fcd130fcd14e17fcc32ad53 /core/deps.mk
parent9af237248320d85cd798c55d489fb2d117aef275 (diff)
downloaderlang.mk-9ed75876301c160985e2c277818a8d97870330e6.tar.gz
erlang.mk-9ed75876301c160985e2c277818a8d97870330e6.tar.bz2
erlang.mk-9ed75876301c160985e2c277818a8d97870330e6.zip
Export ERLC_OPTS in rebar patched deps
Otherwise some deps didn't have their warnings_as_errors removed.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index e536337..c86621a 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -162,7 +162,7 @@ define dep_autopatch_rebar.erl
Write("DRV_CFLAGS = -fPIC\nexport DRV_CFLAGS\n"),
Write(["ERLANG_ARCH = ", rebar_utils:wordsize(), "\nexport ERLANG_ARCH\n"]),
fun() ->
- Write("ERLC_OPTS = +debug_info\n"),
+ Write("ERLC_OPTS = +debug_info\nexport ERLC_OPTS\n"),
case lists:keyfind(erl_opts, 1, Conf) of
false -> ok;
{_, ErlOpts} ->