mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
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:
parent
0d7a5476c0
commit
47994806f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user