From 47994806f05ebaa81e41abd3e412d150ab2a58ad Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 13 Jul 2013 21:33:50 +0200 Subject: [PATCH] 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. --- rebar.config.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebar.config.script b/rebar.config.script index 27029020a..a814506e5 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -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