bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=59127058afd3f1259a0dfc438ca387fa02b72ccc

commit 59127058afd3f1259a0dfc438ca387fa02b72ccc
Author: Stefan Schmidt <[email protected]>
Date:   Mon May 18 17:24:13 2020 +0200

    benchmarks: use EFL_BUILD=1 in c_args
    
    Original patch by Vincent Torri.
    
    Reviewed-by: Vincent Torri <[email protected]>
    Reviewed-by: João Paulo Taylor Ienczak Zanette 
<[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11853
---
 src/benchmarks/eina/meson.build       | 2 +-
 src/benchmarks/elementary/meson.build | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/benchmarks/eina/meson.build b/src/benchmarks/eina/meson.build
index 6bbebce206..ba126987fb 100644
--- a/src/benchmarks/eina/meson.build
+++ b/src/benchmarks/eina/meson.build
@@ -31,7 +31,7 @@ city = shared_library('city',
 eina_bench = executable('eina_bench',
   sources : eina_bench_src,
   dependencies : eina,
-  c_args : ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17'],
+  c_args : ['-fPIC','-DCITYHASH_BENCH', '-DEINA_ENABLE_BENCH_E17', 
'-DEFL_BUILD'],
   include_directories : config_dir,
   link_with : city,
 )
diff --git a/src/benchmarks/elementary/meson.build 
b/src/benchmarks/elementary/meson.build
index 8cb1b99057..d174a93433 100644
--- a/src/benchmarks/elementary/meson.build
+++ b/src/benchmarks/elementary/meson.build
@@ -10,6 +10,7 @@ benchmark('focus_widget_tree', focus_widget_tree_bench,
 
 item_container = executable('collection',
   'collection.c',
+  c_args: ['-DEFL_BUILD'],
   dependencies: [elementary, ecore_input_evas, eio],
 )
 

-- 


Reply via email to