diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-07-19 15:41:20 -0400 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-07-19 15:04:48 -0700 |
commit | 481747ae33c115cc5e0d9f8a3616c6737c11da64 (patch) | |
tree | e38ae8fe9e384e187ebc18b8d880a6afcb2a3847 | |
parent | 8399f2698bf7e15895229c20df8ea9bce33409e0 (diff) |
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.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9359
-rw-r--r-- | src/lib/eina/meson.build | 9 |
1 files 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 | |||
297 | if cc.has_header_symbol(pthread_np_header_file, 'pthread_attr_setaffinity_np', args : pthread_args) | 297 | if cc.has_header_symbol(pthread_np_header_file, 'pthread_attr_setaffinity_np', args : pthread_args) |
298 | eina_config.set('EINA_HAVE_PTHREAD_AFFINITY', '1') | 298 | eina_config.set('EINA_HAVE_PTHREAD_AFFINITY', '1') |
299 | endif | 299 | endif |
300 | # FIXME the author of eina_debug probebly never ran with EINA_HAVE_DEBUG_THREADS | ||
301 | # however eina debug decides to init that lock and never frees it. which means | ||
302 | # the code in eina_main.c will not work in the way it currently is there. | ||
303 | 300 | ||
304 | #if debug_threads or get_option('debug-threads') | 301 | if debug_threads or get_option('debug-threads') |
305 | # eina_config.set('EINA_HAVE_DEBUG_THREADS', '1') | 302 | eina_config.set('EINA_HAVE_DEBUG_THREADS', '1') |
306 | #endif | 303 | endif |
307 | 304 | ||
308 | eina_config.set('EINA_SIZEOF_WCHAR_T', cc.sizeof('wchar_t', prefix : '#include<wchar.h>')) | 305 | eina_config.set('EINA_SIZEOF_WCHAR_T', cc.sizeof('wchar_t', prefix : '#include<wchar.h>')) |
309 | 306 | ||