summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2013-09-30 19:05:23 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2013-11-26 20:33:56 +0100
commit55d15394048148f9d9f26b0c509590e7fe0f4cfb (patch)
treeb832d5f9e7da912ae6d1758262fc28add833141b
parent8f05368ba4749cf21c7393c04856b7f059ab5676 (diff)
lfe: use correctly filtered erl_opts
-rw-r--r--src/rebar_lfe_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_lfe_compiler.erl b/src/rebar_lfe_compiler.erl
index 2a047d8..8488b0f 100644
--- a/src/rebar_lfe_compiler.erl
+++ b/src/rebar_lfe_compiler.erl
@@ -70,8 +70,8 @@ compile_lfe(Source, _Target, Config) ->
"~n", []),
?FAIL;
_ ->
- Opts = [{i, "include"}, {outdir, "ebin"}, return]
- ++ rebar_config:get_list(Config, erl_opts, []),
+ ErlOpts = rebar_utils:erl_opts(Config),
+ Opts = [{i, "include"}, {outdir, "ebin"}, return] ++ ErlOpts,
case lfe_comp:file(Source, Opts) of
{ok, _Mod, Ws} ->
rebar_base_compiler:ok_tuple(Config, Source, Ws);