summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-11-16 16:49:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-11-16 17:29:05 +0100
commit46422187d81145f87b5f2ec023aaea4554999f74 (patch)
tree628de080ef4173d3d2c616663d734091bef53230 /src/lib/evas
parentae543adbd1cddfc6fbadb564c3be46c71beb6e5f (diff)
meson: cleanup the native-cpu optimization build code
you were not able to disable the header checks, so if the header was not there it indicated that you could turn it of. However, the option check was in the has_header if not outside of it. Further more, header checks are done in the subdirectory that is done for header checks, unneccessary cpu_**** flags are removed, global optimization options are added to the global_arguments instead of just the package_c_args, which leads to the fact that also all binaries etc. are build by default with those optimization flags. This also reduces the amount of options to a minimum of 1 option, to just control if there should be the optimization or not. This also changes from host_maschine to target_mschine, since we probebly want to enable the optimization for the target maschine, not the host. Differential Revision: https://phab.enlightenment.org/D7296
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/meson.build b/src/lib/evas/meson.build
index adea8b2393..f9f038dc93 100644
--- a/src/lib/evas/meson.build
+++ b/src/lib/evas/meson.build
@@ -188,7 +188,7 @@ if cpu_sse3 == true or cpu_neon == true and cpu_neon_intrinsics == false
188 [ include_directories('../../..') ] + 188 [ include_directories('../../..') ] +
189 evas_include_directories + 189 evas_include_directories +
190 [vg_common_inc_dir], 190 [vg_common_inc_dir],
191 c_args: evas_opt_c_args, 191 c_args: native_arch_opt_c_args,
192 dependencies: [eina, eo, ector, emile, evas_deps, m], 192 dependencies: [eina, eo, ector, emile, evas_deps, m],
193 ) 193 )
194 evas_link += [ evas_opt ] 194 evas_link += [ evas_opt ]