From 4aec44c0d9c4c0649c362199fac97efe0a3b38a4 Mon Sep 17 00:00:00 2001 From: Sergii Romantsov Date: Thu, 6 Sep 2018 12:59:47 +0300 Subject: i965/tools: 32bit compilation with meson MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Building of 32bit mesa with meson causes issue: "implicit declaration of function ‘__builtin_ia32_clflush’". Fixed by adding msse2 compilation flag. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107843 Fixes: 314879f7fec0 (i965: Fix asynchronous mappings on !LLC platforms.) Signed-off-by: Sergii Romantsov Reviewed-by: Lionel Landwerlin --- src/intel/tools/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/tools') diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index 3617478ad73..44d6bdd78a4 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -90,7 +90,7 @@ libintel_sanitize_gpu = shared_library( dependencies : [dep_dl, dep_thread], include_directories : [inc_common, inc_intel, inc_drm_uapi], link_with : [libintel_common, libmesa_util], - c_args : [c_vis_args, no_override_init_args], + c_args : [c_vis_args, no_override_init_args, c_sse2_args], build_by_default : true, install_dir: get_option('libexecdir'), install: true -- cgit v1.2.3