This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/125/head
in repository efl.

View the commit online.

commit be7268d9d684c1ad7c2c2b92cc17009bed15031d
Author: Swagtoy <[email protected]>
AuthorDate: Sun May 17 23:37:18 2026 -0400

    meson: Don't display backtraces for debug builds
    
    according to eina_log.c:127, in 'dev' mode it should not set the
    backtrace level at all, effectively turning them off.
    
    These are annoying me when debugging, as I'm using gdb otherwise, so
    backtraces are not helpful :(
    
    Signed-off-by: Swagtoy <[email protected]>
---
 src/lib/eina/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 5b8cdc3333..12dae0917f 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -358,7 +358,10 @@ unwind = dependency('libunwind-generic', required: false)
 if unwind.found()
    config_h.set('HAVE_UNWIND', 1)
    eina_ext_deps += unwind
-   config_h.set('EINA_LOG_BACKTRACE_ENABLE', 1)
+   # backtraces are not very useful for debug builds
+   if get_option('buildtype') != 'debug'
+      config_h.set('EINA_LOG_BACKTRACE_ENABLE', 1)
+   endif
 endif
 
 #for the case that the iconv library is not part of libc but rather libiconv or smth. like that

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to