cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=481747ae33c115cc5e0d9f8a3616c6737c11da64

commit 481747ae33c115cc5e0d9f8a3616c6737c11da64
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Fri Jul 19 15:41:20 2019 -0400

    meson: fix debug-threads option
    
    it doesn't matter if this doesn't work with eina_debug since this isn't
    meant to be used for that kind of debugging
    
    Reviewed-by: Cedric BAIL <cedric.b...@free.fr>
    Differential Revision: https://phab.enlightenment.org/D9359
---
 src/lib/eina/meson.build | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 1642d28b93..b93e46802c 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -297,13 +297,10 @@ endif
 if cc.has_header_symbol(pthread_np_header_file, 'pthread_attr_setaffinity_np', 
args : pthread_args)
    eina_config.set('EINA_HAVE_PTHREAD_AFFINITY', '1')
 endif
-# FIXME the author of eina_debug probebly never ran with 
EINA_HAVE_DEBUG_THREADS
-# however eina debug decides to init that lock and never frees it. which means
-# the code in eina_main.c will not work in the way it currently is there.
 
-#if debug_threads or get_option('debug-threads')
-#   eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
-#endif
+if debug_threads or get_option('debug-threads')
+   eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
+endif
 
 eina_config.set('EINA_SIZEOF_WCHAR_T', cc.sizeof('wchar_t',  prefix : 
'#include<wchar.h>'))
 

-- 


Reply via email to