From: Sergii Romantsov Date: Thu, 6 Sep 2018 09:59:47 +0000 (+0300) Subject: i965/tools: 32bit compilation with meson X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4aec44c0d9c4c0649c362199fac97efe0a3b38a4;p=mesa.git i965/tools: 32bit compilation with meson 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 --- 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