summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergii Romantsov <[email protected]>2018-09-06 12:59:47 +0300
committerLionel Landwerlin <[email protected]>2018-09-07 13:46:48 +0100
commit97fcccb25ed5f55139c03ebc1c71742f0f25f683 (patch)
tree5663f637135dccaf2b85470849a638f081e680c0 /src
parentd709f127927cb0ad40d5bf4eaec33c3c27f7738a (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/tools/meson.build2
1 files changed, 1 insertions, 1 deletions
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