benchmarks: use EFL_BUILD=1 in c_args

Original patch by Vincent Torri.

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11853
This commit is contained in:
Stefan Schmidt 2020-05-18 17:24:13 +02:00 committed by Marcel Hollerbach
parent 46cedab6cc
commit 59127058af
2 changed files with 2 additions and 1 deletions

View File

@ -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,
)

View File

@ -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],
)