anchor.diff:  
   doterl_compile(Config, OutDir, MoreSources) ->
       FirstErls = rebar_config:get_list(Config, erl_first_files, []),
  -    ErlOpts = rebar_config:get(Config, erl_opts, []),
  +    ErlOpts = filter_defines(rebar_config:get(Config, erl_opts, []), []),
  +    ?DEBUG("erl_opts ~p~n",[ErlOpts]),
       %% Support the src_dirs option allowing multiple directories to
       %% contain erlang source. This might be used, for example, should eunit tests be
       %% separated from the core application source.
  
positive.code:     CurrPath = code:get_path(),
      code:add_path("ebin"),
      rebar_base_compiler:run(Config, FirstErls, SortedRestErls,
                              fun(S, C) -> internal_erl_compile(S, C, OutDir) end),
      code:set_path(CurrPath),
      ok.
  
  
negative.code:     lists:any(fun(I) -> TargetLastMod < filelib:last_modified(I) end,
                [Source] ++ Hrls).
  
  -spec internal_erl_compile(Source::string(), Config::#config{},
                             Outdir::string(), ErlOpts::list()) -> 'ok' | 'skipped'.
  internal_erl_compile(Source, Config, Outdir, ErlOpts) ->
      %% Determine the target name and includes list by inspecting the source file
      {Module, Hrls} = inspect(Source, include_path(Source, Config)),
  
  