mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +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
|
DebugInfo = case lists:keysearch(debug, 1, Cfg) of
|
||||||
{value, {debug, true}} ->
|
{value, {debug, true}} ->
|
||||||
[debug_info];
|
[];
|
||||||
_ ->
|
_ ->
|
||||||
[]
|
[no_debug_info]
|
||||||
end,
|
end,
|
||||||
|
|
||||||
HiPE = case lists:keysearch(hipe, 1, Cfg) of
|
HiPE = case lists:keysearch(hipe, 1, Cfg) of
|
||||||
|
Loading…
Reference in New Issue
Block a user