mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
lfe: use correctly filtered erl_opts
This commit is contained in:
parent
8f05368ba4
commit
55d1539404
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue