rebar.config.script: fix debug_info handling

debug_info is enabled by default and can be disabled by passing
'no_debug_info' in erl_opts.
This commit is contained in:
Tuncer Ayaz 2013-07-13 21:33:50 +02:00
parent 0d7a5476c0
commit 47994806f0
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ Macros = lists:flatmap(
DebugInfo = case lists:keysearch(debug, 1, Cfg) of
{value, {debug, true}} ->
[debug_info];
[];
_ ->
[]
[no_debug_info]
end,
HiPE = case lists:keysearch(hipe, 1, Cfg) of