anchor.diff:      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),
  +                            fun(S, C) -> internal_erl_compile(S, C, OutDir,
  +                                                              ErlOpts)
  +                            end),
       code:set_path(CurrPath),
       ok.
   
  
positive.code: 
  doterl_compile(Config, OutDir, MoreSources) ->
      FirstErls = rebar_config:get_list(Config, erl_first_files, []),
      ErlOpts = rebar_config:get(Config, erl_opts, []),
      %% 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.
  
negative.code: %% ===================================================================
  %% Public API
  %% ===================================================================
  
  %% Supported configuration variables:
  %%
  %% * erl_opts - Erlang list of options passed to compile:file/2
  %%              It is also possible to specify platform specific
  %%              options by specifying a triplet where the first string
  %%              is a regex that is checked against Erlang's system
  %%              architecture string. E.g. to define HAVE_SENDFILE only
  %%              on systems with sendfile() and define BACKLOG on
  %%              Linux/FreeBSD as 128 do:
  %%              {erl_opts, [{platform_define,
  %%                           "(linux|solaris|freebsd|darwin)",
  %%                           'HAVE_SENDFILE'},
  %%                          {platform_define, "(linux|freebsd)"
  %%                           'BACKLOG', 128}]}.
  %%
  
  -spec compile(Config::#config{}, AppFile::string()) -> 'ok'.
  compile(Config, _AppFile) ->
  