lfe: use correctly filtered erl_opts
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/55d15394 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/55d15394 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/55d15394 Branch: refs/heads/import Commit: 55d15394048148f9d9f26b0c509590e7fe0f4cfb Parents: 8f05368 Author: Tuncer Ayaz <[email protected]> Authored: Mon Sep 30 19:05:23 2013 +0200 Committer: Tuncer Ayaz <[email protected]> Committed: Tue Nov 26 20:33:56 2013 +0100 ---------------------------------------------------------------------- src/rebar_lfe_compiler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/55d15394/src/rebar_lfe_compiler.erl ---------------------------------------------------------------------- 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);
